Skip to content

Commit 40ebf91

Browse files
committed
feat: Kg/add time selector dropdown UI (#3956)
* feat: add time selector dropdown UI * update time selector style
1 parent 619ea2f commit 40ebf91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/state/application/hooks.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ export function useTogglePrivacyPolicy(): () => void {
5656
return useToggleModal(ApplicationModal.PRIVACY_POLICY)
5757
}
5858

59+
export function useToggleTimeSelector(): () => void {
60+
return useToggleModal(ApplicationModal.TIME_SELECTOR)
61+
}
62+
5963
// returns a function that allows adding a popup
6064
export function useAddPopup(): (content: PopupContent, key?: string, removeAfterMs?: number) => void {
6165
const dispatch = useAppDispatch()

0 commit comments

Comments
 (0)