This commit is contained in:
Massedil
2025-12-15 18:18:24 +01:00
parent caeee00af4
commit 7686b0e95d

View File

@@ -255,7 +255,7 @@ const { mutate: rejectInstance, onError: onRejectInstanceError } = useMutation(
() => ({ () => ({
update(cache: ApolloCache<any>) { update(cache: ApolloCache<any>) {
cache.writeFragment({ cache.writeFragment({
id: cache.identify(instance as unknown as Reference), id: cache.identify(instance.value as unknown as Reference),
fragment: gql` fragment: gql`
fragment InstanceFollowerStatus on Instance { fragment InstanceFollowerStatus on Instance {
followerStatus followerStatus