From 130b5f029bbd61b20d0f7e81f594a4fea50eb356 Mon Sep 17 00:00:00 2001 From: Aries Date: Mon, 27 Feb 2023 21:02:17 -0700 Subject: [PATCH] fix: add use client to swr config provider --- _internal/utils/config-context.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_internal/utils/config-context.ts b/_internal/utils/config-context.ts index 93aaa05e1..ab351697f 100644 --- a/_internal/utils/config-context.ts +++ b/_internal/utils/config-context.ts @@ -1,3 +1,5 @@ +'use client' + import type { FC, PropsWithChildren } from 'react' import { createContext,