digitale Eingänge Redux Slice erstellt für mehr Übersicht

This commit is contained in:
ISA
2025-02-20 08:07:53 +01:00
parent 4dab654856
commit f9c050417e
14 changed files with 240 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
"use client";
// pages/_app.tsx
import { useEffect, useState } from "react";
import { loadWindowVariables } from "../utils/loadWindowVariables";
@@ -9,6 +10,7 @@ import { Provider } from "react-redux";
import { setVariables } from "../redux/slices/variablesSlice";
import store from "../redux/store";
import { AppProps } from "next/app";
import WindowVariablesInitializer from "../components/WindowVariablesInitializer";
function MyApp({ Component, pageProps }: AppProps) {
const [sessionExpired, setSessionExpired] = useState(false);
@@ -39,6 +41,7 @@ function MyApp({ Component, pageProps }: AppProps) {
return (
<Provider store={store}>
<WindowVariablesInitializer />
<div className="flex flex-col h-screen overflow-hidden">
<Header />
<div className="flex flex-grow w-full">