Skip to content

Commit

Permalink
[#noissue] Fix inspector route loader
Browse files Browse the repository at this point in the history
- Change merging query param order
  • Loading branch information
binDongKim committed Apr 18, 2024
1 parent a3ef2f9 commit d1dd51d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ export const inspectorRouteLoader = ({ params, request }: LoaderFunctionArgs) =>
from: format(defaultParsedDateRange.from, DATE_FORMAT),
to: format(defaultParsedDateRange.to, DATE_FORMAT),
};
// const defaultDatesQueryString = new URLSearchParams(defaultFormattedDateRange).toString();
// const defaultDestination = `${basePath}?${defaultDatesQueryString}`;
const defaultDestination = `${basePath}?${convertParamsToQueryString({
...defaultFormattedDateRange,
...queryParam,
...defaultFormattedDateRange,
})}`;

if (conditions.length === 0) {
Expand Down

0 comments on commit d1dd51d

Please sign in to comment.