removing unused code
This commit is contained in:
@@ -3,9 +3,6 @@ import { Tabs } from 'expo-router'
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export default function TabLayout() {
|
export default function TabLayout() {
|
||||||
const isAdmin = localStorage.getItem('session') === 'admin'
|
|
||||||
console.log(isAdmin)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tabs
|
<Tabs
|
||||||
screenOptions={{
|
screenOptions={{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { SignOutButton } from '../components/SignOutButton'
|
|||||||
|
|
||||||
export default function PostsScreen() {
|
export default function PostsScreen() {
|
||||||
const { user } = useUser()
|
const { user } = useUser()
|
||||||
console.log(user?.imageUrl)
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<View style={styles.wrapper}>
|
<View style={styles.wrapper}>
|
||||||
|
|||||||
Reference in New Issue
Block a user