fix: lint errors (#17351)

This commit is contained in:
Benny Joo authored and GitHub committed 2024-10-27 08:05:27 +05:30
1 parent 7e3f60bbdb
commit 7d51741de0
5 files changed
+12 -15

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ export function WithLayout<T extends Record<string, any>>({
isBookingPage,
requiresLicense,
}: WithLayoutParams<T>) {
// eslint-disable-next-line react/display-name
return async <P extends "P" | "L">(p: P extends "P" ? PageProps : LayoutProps) => {
const h = headers();
const nonce = h.get("x-nonce") ?? undefined;