Fix favorites add/remove from table context menu (#2571)
* Fix favorites add/remove from table context menu * Fixed console.log --------- Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
@ -35,7 +35,10 @@ export const RecordTableEffect = ({
|
||||
const { setRecordTableData } = useRecordTable();
|
||||
const { tableSortsOrderBySelector, tableFiltersWhereSelector } =
|
||||
useRecordTableScopedStates();
|
||||
const { registerOptimisticEffect } = useOptimisticEffect('CompanyV2');
|
||||
|
||||
const { registerOptimisticEffect } = useOptimisticEffect({
|
||||
objectNameSingular: 'companyV2',
|
||||
});
|
||||
|
||||
const tableSortsOrderBy = useRecoilValue(tableSortsOrderBySelector);
|
||||
const sortsOrderBy = defaults(tableSortsOrderBy, [
|
||||
|
||||
Reference in New Issue
Block a user