From 5e029852060d6475eccada35ffbcdd0178d5e690 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 18 Apr 2023 14:53:59 -0400 Subject: [PATCH] fix: adds 'use client' for next 13 compatibility --- src/admin/Root.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/admin/Root.tsx b/src/admin/Root.tsx index 2720a6e79c..6b0bbe5694 100644 --- a/src/admin/Root.tsx +++ b/src/admin/Root.tsx @@ -1,3 +1,5 @@ +'use client'; + // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore - need to do this because this file doesn't actually exist import config from 'payload-config';