diff --git a/src/app/api/file/route.client.ts b/src/app/api/file/route.client.ts index 85c983e3..ae7aa8ad 100644 --- a/src/app/api/file/route.client.ts +++ b/src/app/api/file/route.client.ts @@ -11,6 +11,11 @@ type IFile = z.infer; * Extends the parameters of fetch() function to give types to the RequestBody. */ interface IRequest extends Omit { + + + + + body: IFile; } diff --git a/src/app/private/layout.tsx b/src/app/private/layout.tsx index 8f428f6d..a0890aa5 100644 --- a/src/app/private/layout.tsx +++ b/src/app/private/layout.tsx @@ -4,7 +4,10 @@ interface IPrivateLayout { children: React.ReactNode; } -const PrivateLayout = ({ children }: IPrivateLayout) => { +const PrivateLayout = ({ + + + children }: IPrivateLayout) => { return {children}; };