diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index 94dc76aa..de5710d6 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -40,7 +40,7 @@ import { LOCAL_PROVIDERS } from '~/lib/stores/settings'; import { SupabaseChatAlert } from '~/components/chat/SupabaseAlert'; import { SupabaseConnection } from './SupabaseConnection'; import { ExpoQrModal } from '~/components/workbench/ExpoQrModal'; -import { expoUrlAtom } from '~/stores/qrCodeStore'; +import { expoUrlAtom } from '~/lib/stores/qrCodeStore'; import { useStore } from '@nanostores/react'; const TEXTAREA_MIN_HEIGHT = 76; diff --git a/app/components/workbench/ExpoQrModal.tsx b/app/components/workbench/ExpoQrModal.tsx index 016b4ec2..bf7c4038 100644 --- a/app/components/workbench/ExpoQrModal.tsx +++ b/app/components/workbench/ExpoQrModal.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { Dialog, DialogTitle, DialogDescription, DialogRoot } from '~/components/ui/Dialog'; import { useStore } from '@nanostores/react'; -import { expoUrlAtom } from '~/stores/qrCodeStore'; +import { expoUrlAtom } from '~/lib/stores/qrCodeStore'; import QRCode from 'react-qr-code'; interface ExpoQrModalProps { diff --git a/app/components/workbench/Preview.tsx b/app/components/workbench/Preview.tsx index de7588f8..81edb2e1 100644 --- a/app/components/workbench/Preview.tsx +++ b/app/components/workbench/Preview.tsx @@ -4,7 +4,7 @@ import { IconButton } from '~/components/ui/IconButton'; import { workbenchStore } from '~/lib/stores/workbench'; import { PortDropdown } from './PortDropdown'; import { ScreenshotSelector } from './ScreenshotSelector'; -import { expoUrlAtom } from '~/stores/qrCodeStore'; +import { expoUrlAtom } from '~/lib/stores/qrCodeStore'; import { ExpoQrModal } from '~/components/workbench/ExpoQrModal'; type ResizeSide = 'left' | 'right' | null; diff --git a/app/stores/qrCodeStore.ts b/app/lib/stores/qrCodeStore.ts similarity index 100% rename from app/stores/qrCodeStore.ts rename to app/lib/stores/qrCodeStore.ts diff --git a/app/utils/shell.ts b/app/utils/shell.ts index 5f0904c9..9b9d02e4 100644 --- a/app/utils/shell.ts +++ b/app/utils/shell.ts @@ -2,7 +2,7 @@ import type { WebContainer, WebContainerProcess } from '@webcontainer/api'; import type { ITerminal } from '~/types/terminal'; import { withResolvers } from './promises'; import { atom } from 'nanostores'; -import { expoUrlAtom } from '~/stores/qrCodeStore'; +import { expoUrlAtom } from '~/lib/stores/qrCodeStore'; export async function newShellProcess(webcontainer: WebContainer, terminal: ITerminal) { const args: string[] = [];