This commit is contained in:
2023-11-30 17:24:07 +07:00
parent 80f675cb54
commit 5318f6c4cb
31 changed files with 71 additions and 99 deletions

View File

@@ -14,7 +14,7 @@ import { useEffect, useState } from 'react';
import NDKCacheAdapterTauri from '@libs/ndk/cache';
import { useStorage } from '@libs/storage/provider';
import { FETCH_LIMIT } from '@stores/constants';
import { FETCH_LIMIT } from '@utils/constants';
export const NDKInstance = () => {
const { db } = useStorage();

View File

@@ -8,7 +8,7 @@ import { NDKInstance } from '@libs/ndk/instance';
import { LoaderIcon } from '@shared/icons';
import { QUOTES } from '@stores/constants';
import { QUOTES } from '@utils/constants';
interface NDKContext {
ndk: undefined | NDK;

View File

@@ -3,8 +3,7 @@ import { invoke } from '@tauri-apps/api/primitives';
import { Platform } from '@tauri-apps/plugin-os';
import Database from '@tauri-apps/plugin-sql';
import { FULL_RELAYS } from '@stores/constants';
import { FULL_RELAYS } from '@utils/constants';
import { rawEvent } from '@utils/transform';
import type {
Account,

View File

@@ -10,7 +10,7 @@ import { LumeStorage } from '@libs/storage/instance';
import { LoaderIcon } from '@shared/icons';
import { QUOTES } from '@stores/constants';
import { QUOTES } from '@utils/constants';
interface StorageContext {
db: LumeStorage;