Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
hardyjosh committed Nov 18, 2024
1 parent 09cfd25 commit f246277
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions tauri-app/src/lib/components/tables/OrdersListTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,15 @@
TableHeadCell,
} from 'flowbite-svelte';
import { DotsVerticalOutline } from 'flowbite-svelte-icons';
import { walletAddressMatchesOrBlank } from '$lib/stores/wallets';
import { Hash, HashType } from '@rainlanguage/ui-components';
import { activeNetworkRef, activeOrderbookRef, activeSubgraphs } from '$lib/stores/settings';
import { formatTimestampSecondsAsLocal } from '$lib/utils/time';
import type { Order as OrderDetailOrder } from '$lib/typeshare/subgraphTypes';
import type { Order as OrderListOrder } from '$lib/typeshare/subgraphTypes';
import { get, type Readable, type Writable } from 'svelte/store';
export let handleOrderRemoveModal: (
order: OrderDetailOrder | OrderListOrder,
onOrderRemoved: () => void,
) => void;
export let walletAddressMatchesOrBlank: Writable<(otherAddress: string) => boolean>;
export let activeAccounts: Readable<Record<string, string>>;
export let activeSubgraphs: Writable<Record<string, string>>;
export let activeNetworkRef: Writable<string>;
export let activeOrderbookRef: Writable<string>;
export let activeOrderStatus: Writable<boolean | undefined>;
export let orderHash: Writable<string>;
import { handleOrderRemoveModal } from '$lib/services/modal';
import { activeAccounts, activeOrderStatus } from '$lib/stores/settings';
import { get } from 'svelte/store';
import { orderHash } from '$lib/stores/settings';
$: query = createInfiniteQuery({
queryKey: [QKEY_ORDERS, $activeAccounts, $activeOrderStatus, $orderHash, $activeSubgraphs],
Expand Down

0 comments on commit f246277

Please sign in to comment.