feat: introduced Authentification Context

This commit is contained in:
Jakob Stornig 2023-12-08 14:51:05 +01:00
parent 7c9fdad01f
commit 6592864bc4
9 changed files with 215 additions and 16 deletions

12
app/_layout.tsx Normal file
View file

@ -0,0 +1,12 @@
import { Slot } from 'expo-router'
import React from 'react'
import { AuthProvider } from './contexts/AuthContext'
export default function _layout() {
console.log("layout called")
return (
<AuthProvider>
<Slot />
</AuthProvider>
)
}