export const paramsFromCurrentPath = (
  pathname: string,
  matchingRoute: string,
) => {
  const params: Record<string, string> = {};