File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,14 @@ import { tasksQuery } from './tasksQuery';
1212import { columns } from './tasksTable/columns' ;
1313
1414export function TasksPreviewTable ( { className } : { className ?: string } ) {
15- const { chainId } = useUserStore ( ) ;
1615 const { chainId } = useUserStore ( ) ;
1716 const tasks = useQuery ( {
18- queryKey : [ chainId , 'tasks_preview' ] ,
1917 queryKey : [ chainId , 'tasks_preview' ] ,
2018 queryFn : ( ) =>
2119 execute ( tasksQuery , chainId , {
2220 length : PREVIEW_TABLE_LENGTH ,
2321 skip : 0 ,
2422 } ) ,
25- execute ( tasksQuery , chainId , {
26- length : PREVIEW_TABLE_LENGTH ,
27- skip : 0 ,
28- } ) ,
2923 refetchInterval : PREVIEW_TABLE_REFETCH_INTERVAL ,
3024 enabled : ! ! chainId ,
3125 } ) ;
@@ -51,7 +45,6 @@ export function TasksPreviewTable({ className }: { className?: string }) {
5145 </ h2 >
5246 < Button variant = "link" className = "-mr-4" asChild >
5347 < ChainLink to = "/tasks" > View all</ ChainLink >
54- < ChainLink to = "/tasks" > View all</ ChainLink >
5548 </ Button >
5649 </ div >
5750 { ( tasks . isError || tasks . errorUpdateCount > 0 ) && ! tasks . data ? (
You can’t perform that action at this time.
0 commit comments