mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-12-05 17:30:50 +00:00
fix(disconnect from map issue): require to be connected to reach /map
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export default function Map() {
|
||||
]);
|
||||
|
||||
const [geolocationError, setGeolocationError] = useState(false);
|
||||
const { data: session, status } = useSession();
|
||||
const { data: session, status } = useSession({ required: true });
|
||||
const [listBars, setListBars] = useState({} as unknown as any);
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user