From 176194cdd8124c008295c9db6cd77dcdf09ea171 Mon Sep 17 00:00:00 2001 From: Quinta <0pietroquintavalle0@gmail.com> Date: Thu, 22 Aug 2024 02:51:52 +0200 Subject: [PATCH] lets try again --- app/not-found.tsx | 9 +++++++++ components/AuthProvider.tsx | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 app/not-found.tsx diff --git a/app/not-found.tsx b/app/not-found.tsx new file mode 100644 index 0000000..068ab06 --- /dev/null +++ b/app/not-found.tsx @@ -0,0 +1,9 @@ +// app/not-found.tsx +export default function NotFound() { + return ( +
+

Page Not Found

+

Sorry, the page you are looking for does not exist.

+
+ ); +} diff --git a/components/AuthProvider.tsx b/components/AuthProvider.tsx index 005fca1..cb13e87 100644 --- a/components/AuthProvider.tsx +++ b/components/AuthProvider.tsx @@ -1,3 +1,5 @@ +"use client" + import React, { createContext, useContext, useEffect, useState } from 'react'; import { auth, database } from '@/firebaseConfig'; import { User, createUserWithEmailAndPassword, signInWithEmailAndPassword, signOut } from 'firebase/auth';