From 74b03c33ff37d7363721bc2c33abb867dc9ea87c Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 14 Mar 2021 23:10:01 +0100 Subject: Add components to view topics and posts --- src/stores/apollo.js | 2 +- src/stores/forum.js | 2 +- src/stores/forums.js | 2 +- src/stores/post.js | 2 +- src/stores/tag.js | 2 +- src/stores/topic.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/stores') diff --git a/src/stores/apollo.js b/src/stores/apollo.js index e2deecd..0ac2443 100644 --- a/src/stores/apollo.js +++ b/src/stores/apollo.js @@ -1,6 +1,6 @@ import { ApolloError } from '@apollo/client/core'; import { readable } from 'svelte/store'; -import { client } from '$config/apollo'; +import { client } from '$/config/apollo'; /* * This is a generic store for use with apollo diff --git a/src/stores/forum.js b/src/stores/forum.js index 110da57..a4a66a5 100644 --- a/src/stores/forum.js +++ b/src/stores/forum.js @@ -1,4 +1,4 @@ import { store } from './apollo'; -import { GET_FORUM } from '$data/queries'; +import { GET_FORUM } from '$/data/queries'; export const getForum = (id) => store({ key: 'forum', query: GET_FORUM, variables: { id } }); diff --git a/src/stores/forums.js b/src/stores/forums.js index 5cce7ba..583b0d3 100644 --- a/src/stores/forums.js +++ b/src/stores/forums.js @@ -1,4 +1,4 @@ import { store } from './apollo'; -import { GET_FORUMS } from '$data/queries'; +import { GET_FORUMS } from '$/data/queries'; export const forums = store({ key: 'forums', query: GET_FORUMS, initialValue: [] }); diff --git a/src/stores/post.js b/src/stores/post.js index ed19cd6..0cbf1d5 100644 --- a/src/stores/post.js +++ b/src/stores/post.js @@ -1,4 +1,4 @@ import { store } from './apollo'; -import { GET_POST } from '$data/queries'; +import { GET_POST } from '$/data/queries'; export const getPost = (id) => store({ key: 'post', query: GET_POST, variables: { id } }); diff --git a/src/stores/tag.js b/src/stores/tag.js index 742db51..d74b719 100644 --- a/src/stores/tag.js +++ b/src/stores/tag.js @@ -1,4 +1,4 @@ import { store } from './apollo'; -import { GET_TAG } from '$data/queries'; +import { GET_TAG } from '$/data/queries'; export const getTag = (id) => store({ key: 'tag', query: GET_TAG, variables: { id } }); diff --git a/src/stores/topic.js b/src/stores/topic.js index 3225a83..c90f1a3 100644 --- a/src/stores/topic.js +++ b/src/stores/topic.js @@ -1,4 +1,4 @@ import { store } from './apollo'; -import { GET_TOPIC } from '$data/queries'; +import { GET_TOPIC } from '$/data/queries'; export const getTopic = (id) => store({ key: 'topic', query: GET_TOPIC, variables: { id } }); -- cgit