This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// formatDate helperz | |
export const DAY_WEEK = ['일', '월', '화', '수', '목', '금', '토']; | |
export const WEEK_NUMBER = 7; | |
export const HOURS = 60 * 60 * 1000; | |
export const MINUTES = 60 * 1000; | |
export const twoDigits = (num: number): string => { | |
return num < 10 ? `0${num}` : `${num}`; | |
}; | |
/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
myAtom1, | |
myAtom2, | |
myAtom3 | |
} from '@states/your.atoms'; | |
import { Atom, atom, useAtomValue, useStore } from 'jotai'; | |
import { useEffect } from 'react'; | |
type DictType<T = unknown> = Record<string, T>; |
OlderNewer