Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/queryClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { QueryClient } from '@tanstack/react-query';
import { queryKeys } from './query-keys';
import toast from 'react-hot-toast';

export function makeQueryClient(): QueryClient {
return new QueryClient({
Expand Down Expand Up @@ -47,5 +48,6 @@ export async function refreshStreamData(): Promise<void> {
]);
} catch (error) {
console.warn('Failed to refresh stream data after a transaction.', error);
toast.error('Failed to refresh data. Please refresh the page manually.');
}
}