Skip to content

Commit

Permalink
Revert temporary work around
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Nov 1, 2024
1 parent ed269c6 commit dc0408a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/scripts/components/exploration/atoms/dates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ export const selectedDateAtom = atomWithUrlValueStability<Date | null>({
return prev.getTime() === next.getTime();
},
dehydrate: (d) => {
// @TODO: temporary to work around
try {
return d?.toISOString() ?? '';
} catch(e) {
return '';
}
return d?.toISOString() ?? '';
}
});

Expand Down

0 comments on commit dc0408a

Please sign in to comment.