Skip to content

Commit fed5074

Browse files
authored
Merge pull request #2999 from gchq/bugfix/incorrect-cache-key-swr
Removed unnecessary kind query causing mutate to update redundant memory
2 parents b42d3f6 + 56a4c54 commit fed5074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/entry/settings/EntryAccessTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function EntryAccessTab({ entry }: EntryAccessTabProps) {
2020
const [errorMessage, setErrorMessage] = useState('')
2121
const [collaborators, setCollaborators] = useState<CollaboratorEntry[]>(entry.collaborators)
2222

23-
const { isModelError: isEntryError, mutateModel: mutateEntry } = useGetModel(entry.id, entry.kind)
23+
const { isModelError: isEntryError, mutateModel: mutateEntry } = useGetModel(entry.id)
2424
const {
2525
modelRoles: entryRoles,
2626
isModelRolesLoading: isEntryRolesLoading,

0 commit comments

Comments
 (0)