229aeeb0c9
Root cause of the error is that both server and client try to parse date differently due to localStorage. Since server does not know localStorage when render initial HTML it renders page as if there is no value set for time format. On the other hand, client side know the value of time format when it tries to render. To fix the issue, we force it to parse date with default format at the initial rendering time. - Add `withDefaultTimeFormat` argument to `parseDate` function - Add `withDefaultTimeFormat` argument to `parseRecurringDates` function - Leverage useEffect to dynamically update `withDefaultTimeFormat` arg passed to function Co-authored-by: sangboak.lee <sangboak.lee@woowahan.com> Co-authored-by: zomars <zomars@me.com> |
||
---|---|---|
.. | ||
docs | ||
storybook | ||
swagger | ||
web |