mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-17 21:31:43 +01:00
update applesauce
This commit is contained in:
parent
55ba373d4b
commit
7a2c0305f7
@ -89,8 +89,8 @@
|
||||
"react-diff-viewer-continued": "^3.4.0",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-error-boundary": "^4.1.2",
|
||||
"react-force-graph-2d": "^1.25.8",
|
||||
"react-force-graph-3d": "^1.24.6",
|
||||
"react-force-graph-2d": "^1.26.0",
|
||||
"react-force-graph-3d": "^1.25.0",
|
||||
"react-hook-form": "^7.53.2",
|
||||
"react-markdown": "^9.0.1",
|
||||
"react-mosaic-component": "^6.1.0",
|
||||
@ -127,11 +127,11 @@
|
||||
"@types/dom-serial": "^1.0.6",
|
||||
"@types/identicon.js": "^2.3.5",
|
||||
"@types/json-schema": "^7.0.15",
|
||||
"@types/leaflet": "^1.9.14",
|
||||
"@types/leaflet": "^1.9.15",
|
||||
"@types/leaflet.locatecontrol": "^0.74.6",
|
||||
"@types/lodash.throttle": "^4.1.9",
|
||||
"@types/ngeohash": "^0.6.8",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react": "^18.3.13",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@types/react-window": "^1.8.8",
|
||||
"@types/three": "^0.160.0",
|
||||
|
378
pnpm-lock.yaml
generated
378
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
||||
import { Button, ButtonProps, useToast } from "@chakra-ui/react";
|
||||
import { CheckIcon, CopyToClipboardIcon } from "./icons";
|
||||
import { useState } from "react";
|
||||
import { Button, ButtonProps, useToast } from "@chakra-ui/react";
|
||||
|
||||
import { CheckIcon, CopyToClipboardIcon } from "./icons";
|
||||
|
||||
export default function VersionButton({ ...props }: Omit<ButtonProps, "children">) {
|
||||
const toast = useToast();
|
||||
|
@ -30,9 +30,7 @@ let sub: ZenObservable.Subscription;
|
||||
accountService.current.subscribe((account) => {
|
||||
if (sub) sub.unsubscribe();
|
||||
if (!account) return;
|
||||
sub = queryStore
|
||||
.runQuery(AppSettingsQuery)(account.pubkey)
|
||||
.subscribe((v) => (settings = v));
|
||||
sub = queryStore.createQuery(AppSettingsQuery, account.pubkey).subscribe((v) => (settings = v));
|
||||
});
|
||||
|
||||
export function buildImageProxyURL(src: string, size: string | number) {
|
||||
|
@ -10,9 +10,7 @@ let sub: ZenObservable.Subscription;
|
||||
accountService.current.subscribe((account) => {
|
||||
if (sub) sub.unsubscribe();
|
||||
if (!account) return;
|
||||
sub = queryStore
|
||||
.runQuery(AppSettingsQuery)(account.pubkey)
|
||||
.subscribe((v) => (settings = v));
|
||||
sub = queryStore.createQuery(AppSettingsQuery, account.pubkey).subscribe((v) => (settings = v));
|
||||
});
|
||||
|
||||
const clearNetFailedHosts = new Set();
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { useEffect, useMemo } from "react";
|
||||
import { useObservable, useQueryStore, useStoreQuery } from "applesauce-react/hooks";
|
||||
import { useStoreQuery } from "applesauce-react/hooks";
|
||||
import { ReplaceableSetQuery } from "applesauce-core/queries";
|
||||
|
||||
import { useReadRelays } from "./use-client-relays";
|
||||
@ -12,7 +12,6 @@ export default function useReplaceableEvents(
|
||||
opts: RequestOptions = {},
|
||||
) {
|
||||
const readRelays = useReadRelays(additionalRelays);
|
||||
const store = useQueryStore();
|
||||
|
||||
const pointers = useMemo(() => {
|
||||
if (!coordinates) return undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user