Fix: checkSessionStatus() solo en cliente (usa navigator.onLine)
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 48s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 48s
This commit is contained in:
@@ -86,6 +86,9 @@ export const useAuthentik = () => {
|
||||
}
|
||||
|
||||
const checkSessionStatus = async () => {
|
||||
// Solo ejecutar en el cliente
|
||||
if (!import.meta.client) return
|
||||
|
||||
const toast = useToast()
|
||||
|
||||
// Verificar si está offline primero
|
||||
|
||||
Reference in New Issue
Block a user