diff --git a/.gitignore b/.gitignore index 5bc2bc2..0c32b4b 100644 --- a/.gitignore +++ b/.gitignore @@ -144,4 +144,5 @@ dist .pnp.* #screenshots -tests/cypress/screenshots \ No newline at end of file +tests/cypress/screenshots +services/cmd-hook/cmd-hook diff --git a/app/src/components/game/ControlPalette.vue b/app/src/components/game/ControlPalette.vue index 8d82084..f5dd047 100644 --- a/app/src/components/game/ControlPalette.vue +++ b/app/src/components/game/ControlPalette.vue @@ -1,7 +1,7 @@ diff --git a/app/src/components/header/GameHeaderComponents.vue b/app/src/components/header/GameHeaderComponents.vue index 1987895..38a8006 100644 --- a/app/src/components/header/GameHeaderComponents.vue +++ b/app/src/components/header/GameHeaderComponents.vue @@ -5,7 +5,7 @@ import { useToast } from 'vue-toastification' import { logout } from '../../utils/auth' import { trpc } from '../../utils/trpc' import { openBugReport } from '../../utils/formbricks' -import useSession from '../../store/session' +import { useSession } from '../../store/session' import useUserProfile from '../../store/userProfile' const userStore = useUserProfile() diff --git a/app/src/store/session.ts b/app/src/store/session.ts index 9a8e35c..87e3f2d 100644 --- a/app/src/store/session.ts +++ b/app/src/store/session.ts @@ -34,7 +34,7 @@ interface Store { quest: QuestDetailResponse | null } -const useSession = defineStore('session', { +export const useSession = defineStore('session', { state: (): Store => ({ session: null, questId: '', @@ -126,5 +126,3 @@ const useSession = defineStore('session', { export function useTerminal() { return term } - -export default useSession diff --git a/app/src/utils/formbricks.ts b/app/src/utils/formbricks.ts index 761a489..b7f4caa 100644 --- a/app/src/utils/formbricks.ts +++ b/app/src/utils/formbricks.ts @@ -1,5 +1,5 @@ import formbricks from '@formbricks/js/website' -import useSession from '../store/session' +import { useSession } from '../store/session' import useUserProfile from '../store/userProfile' if (typeof window !== 'undefined') { diff --git a/app/src/views/GamePage.vue b/app/src/views/GamePage.vue index ad7cc2b..f281126 100644 --- a/app/src/views/GamePage.vue +++ b/app/src/views/GamePage.vue @@ -1,6 +1,6 @@