Fix code errors

This commit is contained in:
Ramon Wenger 2023-08-08 22:15:46 +02:00
parent 46ad200f1e
commit bc86e99cf7
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ export default {
const { id, title } = snapshot; const { id, title } = snapshot;
store.writeFragment({ store.writeFragment({
id, id,
fragment: SNAPSHOT_FRAGMENT, fragment: SnapshotTitleListItem,
data: { data: {
title, title,
__typename: 'SnapshotNode', __typename: 'SnapshotNode',
@ -219,7 +219,7 @@ export default {
) { ) {
store.writeFragment({ store.writeFragment({
id, id,
fragment: SNAPSHOT_FRAGMENT, fragment: SnapshotListItemFragment,
data: { data: {
shared, shared,
__typename: 'SnapshotNode', __typename: 'SnapshotNode',