feat: introduced Authentification Context
This commit is contained in:
parent
7c9fdad01f
commit
6592864bc4
9 changed files with 215 additions and 16 deletions
12
app/_layout.tsx
Normal file
12
app/_layout.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in a new issue