Fixes #1914
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user