We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2755b0e commit bac5aefCopy full SHA for bac5aef
src/utils/cookieUtils.ts
@@ -9,8 +9,9 @@ import {
9
import { isDayRange, TimeUnit } from "./dateUtils";
10
11
export const getPreferences = () => {
12
- const uncheckedDefaultDayRange = cookies().get(defaultDayRangeCookieName)
13
- ?.value;
+ const uncheckedDefaultDayRange = cookies().get(
+ defaultDayRangeCookieName,
14
+ )?.value;
15
const defaultDayRange = isDayRange(uncheckedDefaultDayRange)
16
? uncheckedDefaultDayRange
17
: undefined;
0 commit comments