Fixed bug for refectch activities and create activity on the currently filtered user. (#1493)
* Fixed bug for refectch activities and create activity on the currently filtered user. * Refactor optimistif effect --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -11,7 +11,7 @@ export const SEARCH_COMPANY_QUERY = gql`
|
||||
take: $limit
|
||||
orderBy: $orderBy
|
||||
) {
|
||||
...CompanyFieldsFragment
|
||||
...companyFieldsFragment
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@ -98,8 +98,6 @@ export function useFilteredSearchEntityQuery<
|
||||
};
|
||||
});
|
||||
|
||||
console.log(searchFilter);
|
||||
|
||||
const {
|
||||
loading: filteredSelectedEntitiesLoading,
|
||||
data: filteredSelectedEntitiesData,
|
||||
|
||||
Reference in New Issue
Block a user