feat: show version and show button if new release is available on admin page

This commit is contained in:
Elias Schneider
2022-12-30 19:23:17 +01:00
parent 167f0f8c7a
commit 71658ad39d
8 changed files with 103 additions and 47 deletions

View File

@@ -28,7 +28,6 @@ function App({ Component, pageProps }: AppProps) {
const systemTheme = useColorScheme();
const router = useRouter();
const preferences = usePreferences();
const [colorScheme, setColorScheme] = useState<ColorScheme>("light");
const [isLoading, setIsLoading] = useState(true);
const [user, setUser] = useState<CurrentUser | null>(null);
@@ -89,7 +88,7 @@ function App({ Component, pageProps }: AppProps) {
<Container>
<Component {...pageProps} />
</Container>
</UserContext.Provider>{" "}
</UserContext.Provider>
</ConfigContext.Provider>
)}
</GlobalLoadingContext.Provider>