safe area view

This commit is contained in:
2025-06-06 20:36:15 +02:00
parent 48cf5cd6c4
commit df44742a7b
3 changed files with 12 additions and 17 deletions

View File

@@ -2,21 +2,13 @@ import { Stack, Redirect } from "expo-router";
import "@/global.css";
import { GluestackUIProvider } from "@/components/ui/gluestack-ui-provider";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
// import { useEffect, useState } from "react";
// import { useNoticesStore } from "@/store/noticesStore";
const queryClient = new QueryClient();
export default function RootLayout() {
// const fetchNotices = useNoticesStore((state) => state.fetchNotices);
// useEffect(() => {
// fetchNotices();
// }, []);
return (
<QueryClientProvider client={queryClient}>
<GluestackUIProvider>
<Stack
screenOptions={{
headerTintColor: "#1c1c1e",