mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 13:31:45 +03:00
Added RecordFieldValueSelectorContext (#5596)
Added RecordFieldValueSelectorContext on mock container so that new record value using use-context-selector can work properly in fields module.
This commit is contained in:
parent
3051f3a790
commit
2c009afd36
@ -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 = () => {
|
||||
<PageAddButton onClick={() => {}} />
|
||||
</PageHeader>
|
||||
<PageBody>
|
||||
<StyledTableContainer>
|
||||
<SignInBackgroundMockContainer />
|
||||
</StyledTableContainer>
|
||||
<RecordTableActionBar recordTableId="mock" />
|
||||
<RecordTableContextMenu recordTableId="mock" />
|
||||
<RecordFieldValueSelectorContextProvider>
|
||||
<StyledTableContainer>
|
||||
<SignInBackgroundMockContainer />
|
||||
</StyledTableContainer>
|
||||
<RecordTableActionBar recordTableId="mock" />
|
||||
<RecordTableContextMenu recordTableId="mock" />
|
||||
</RecordFieldValueSelectorContextProvider>
|
||||
</PageBody>
|
||||
</PageContainer>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user