digitale Eingänge Redux Slice erstellt für mehr Übersicht
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user