frontend: 'instant update' defaults to false

This commit is contained in:
Mose Müller
2023-09-14 08:35:10 +02:00
parent e743d89f2e
commit 27520864c4
6 changed files with 9 additions and 9 deletions

View File

@ -112,7 +112,7 @@ const reducer = (state: State, action: Action): State => {
const App = () => {
const [state, dispatch] = useReducer(reducer, null);
const stateRef = useRef(state); // Declare a reference to hold the current state
const [isInstantUpdate, setIsInstantUpdate] = useState(true);
const [isInstantUpdate, setIsInstantUpdate] = useState(false);
const [showSettings, setShowSettings] = useState(false);
const [showNotification, setShowNotification] = useState(true);
const [notifications, setNotifications] = useState([]);