Fix Soumet exported function
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ function Auth({children}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isUser) {
|
if (!isUser) {
|
||||||
router.push('/kont')
|
router.push('/soumet')
|
||||||
}
|
}
|
||||||
}, [isUser, loading, router])
|
}, [isUser, loading, router])
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ import EkriTeks from '../components/soumet/ekri-teks'
|
|||||||
|
|
||||||
import {jwennTeksEpiUserId} from '../lib/oki-api'
|
import {jwennTeksEpiUserId} from '../lib/oki-api'
|
||||||
|
|
||||||
export default function Kont() {
|
export default function Soumet() {
|
||||||
const [session] = useSession()
|
const [session] = useSession()
|
||||||
const [teksEpiUserId, setTeksEpiUserId] = useState([])
|
const [teksEpiUserId, setTeksEpiUserId] = useState([])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user