From 2c009afd36237ce65cc60d8c3b8de8682005f59b Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Mon, 27 May 2024 14:02:38 +0200 Subject: [PATCH] Added RecordFieldValueSelectorContext (#5596) Added RecordFieldValueSelectorContext on mock container so that new record value using use-context-selector can work properly in fields module. --- .../components/SignInBackgroundMockPage.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockPage.tsx b/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockPage.tsx index 1f0e3e540c..13add45ce6 100644 --- a/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockPage.tsx +++ b/packages/twenty-front/src/modules/sign-in-background-mock/components/SignInBackgroundMockPage.tsx @@ -1,6 +1,7 @@ import styled from '@emotion/styled'; import { IconBuildingSkyscraper } from 'twenty-ui'; +import { RecordFieldValueSelectorContextProvider } from '@/object-record/record-store/contexts/RecordFieldValueSelectorContext'; import { RecordTableActionBar } from '@/object-record/record-table/action-bar/components/RecordTableActionBar'; import { RecordTableContextMenu } from '@/object-record/record-table/context-menu/components/RecordTableContextMenu'; import { SignInBackgroundMockContainer } from '@/sign-in-background-mock/components/SignInBackgroundMockContainer'; @@ -24,11 +25,13 @@ export const SignInBackgroundMockPage = () => { {}} /> - - - - - + + + + + + + );