From 4e06c739d4ced0e2d9d77393a29c1e2f73b3ebdb Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Fri, 3 Jun 2022 18:08:21 +0800 Subject: [PATCH] Fix billing layout not having observer --- studio/components/layouts/BillingLayout.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/studio/components/layouts/BillingLayout.tsx b/studio/components/layouts/BillingLayout.tsx index 932a064315d..14d830aac29 100644 --- a/studio/components/layouts/BillingLayout.tsx +++ b/studio/components/layouts/BillingLayout.tsx @@ -1,9 +1,9 @@ import Link from 'next/link' import { FC, ReactNode } from 'react' import { useStore, withAuth } from 'hooks' -import { Button, IconX } from '@supabase/ui' +import { observer } from 'mobx-react-lite' +import { IconX } from '@supabase/ui' -import { headWithTimeout } from 'lib/common/fetch' import BaseLayout from 'components/layouts' interface Props { @@ -55,4 +55,4 @@ const BillingLayout: FC = ({ children }) => { ) } -export default withAuth(BillingLayout) +export default withAuth(observer(BillingLayout))