Skip to content

Commit 79eb562

Browse files
committed
fix(frontend): add explicit React imports to resolve UMD global type errors
1 parent b89a14f commit 79eb562

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/components/Dashboard.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import React from 'react';
12
import { ActivityHistory } from './dashboard/ActivityHistory';
23
import { fetchUserEvents } from '@/lib/dashboard';
34
import { useWallet } from '@/context/wallet-context';
45
import { BackendStreamEvent } from '@/lib/api-types';
6+
import { downloadCSV } from '@/utils/csvExport';
57

68
interface StreamData extends Record<string, unknown> {
79
id: string;

frontend/components/wallet/WalletModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* - Dismiss via Escape key or backdrop click.
1313
*/
1414

15-
import React, { useEffect, useCallback } from "react";
15+
import React, { useEffect, useCallback, useState } from "react";
1616
import { type WalletId } from "@/lib/wallet";
1717
import { useWallet } from "@/context/wallet-context";
1818

0 commit comments

Comments
 (0)