From c32d4a28d033ea5abd557c7d2334db908d36e224 Mon Sep 17 00:00:00 2001 From: Adam Howard <91115+codeincontext@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:59:49 +0100 Subject: [PATCH] fix: demo lint error --- .../DialogControl/ContentOptions/DemoInterstitialDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nextjs/src/components/DialogControl/ContentOptions/DemoInterstitialDialog.tsx b/apps/nextjs/src/components/DialogControl/ContentOptions/DemoInterstitialDialog.tsx index bdd61b0d..3f7192aa 100644 --- a/apps/nextjs/src/components/DialogControl/ContentOptions/DemoInterstitialDialog.tsx +++ b/apps/nextjs/src/components/DialogControl/ContentOptions/DemoInterstitialDialog.tsx @@ -57,7 +57,7 @@ const CreatingChatDialog = ({ if (isDemoUser && !isSubmitting) { setAppSessionsRemaining(demo.appSessionsRemaining); } - }, [isSubmitting, demo]); + }, [isSubmitting, isDemoUser, demo]); const createAppSession = useCallback(() => { if (!submit) {