mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Auth front-end
This commit is contained in:
11
www/app/(auth)/fiefWrapper.tsx
Normal file
11
www/app/(auth)/fiefWrapper.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
"use client";
|
||||
|
||||
import { FiefAuthProvider } from "@fief/fief/nextjs/react";
|
||||
|
||||
export default function FiefWrapper({ children }) {
|
||||
return (
|
||||
<FiefAuthProvider currentUserPath="/api/current-user">
|
||||
{children}
|
||||
</FiefAuthProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user