We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 619ea2f commit 40ebf91Copy full SHA for 40ebf91
src/state/application/hooks.ts
@@ -56,6 +56,10 @@ export function useTogglePrivacyPolicy(): () => void {
56
return useToggleModal(ApplicationModal.PRIVACY_POLICY)
57
}
58
59
+export function useToggleTimeSelector(): () => void {
60
+ return useToggleModal(ApplicationModal.TIME_SELECTOR)
61
+}
62
+
63
// returns a function that allows adding a popup
64
export function useAddPopup(): (content: PopupContent, key?: string, removeAfterMs?: number) => void {
65
const dispatch = useAppDispatch()
0 commit comments