Fix optimistic effect breaking build

This commit is contained in:
Charles Bochet
2023-11-15 15:57:43 +01:00
parent 6129444c5c
commit f49ddec2f6
9 changed files with 15 additions and 16 deletions

View File

@ -27,7 +27,7 @@ export const People = () => {
recordTableScopeId: 'people',
});
const upsertTableRowIds = useUpsertTableRowId();
const { triggerOptimisticEffects } = useOptimisticEffect();
const { triggerOptimisticEffects } = useOptimisticEffect('Person');
const handleAddButtonClick = async () => {
const newPersonId: string = v4();