From cbce8c6ad12f9cf875487cb30181530e4fb498ae Mon Sep 17 00:00:00 2001 From: Ash Date: Thu, 28 Mar 2024 17:39:34 +0000 Subject: [PATCH] fix(core): move `ToastProvider` inside `LocaleProvider` --- .../sanity/src/core/studio/StudioProvider.tsx | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/packages/sanity/src/core/studio/StudioProvider.tsx b/packages/sanity/src/core/studio/StudioProvider.tsx index bb4d7c6f990..7698d72fa0c 100644 --- a/packages/sanity/src/core/studio/StudioProvider.tsx +++ b/packages/sanity/src/core/studio/StudioProvider.tsx @@ -58,7 +58,10 @@ export function StudioProvider({ - {children} + + + {children} + @@ -66,34 +69,31 @@ export function StudioProvider({ return ( - - - - - - - - {noAuthBoundary ? ( - _children - ) : ( - - {_children} - - )} - - - - - - + + + + + + {noAuthBoundary ? ( + _children + ) : ( + + {_children} + + )} + + + + + ) }