import type { Timezone } from 'contexts/globalSettings' import { useGlobalSettings } from 'contexts/globalSettings' import { useRef, useState } from 'react' import { setTimezone } from '../contexts/globalSettings' import { Button } from './Button' export interface SettingsModalProps { timezone?: Timezone } export const SettingsModal = (props: SettingsModalProps) => { const globalSettings = useGlobalSettings() const [isChecked, setIsChecked] = useState(false) const checkBoxRef = useRef(null) return (
) }