fix: resolve ReferenceError during prerendering by moving use client to file top

This commit is contained in:
openhands committed 2026-08-15 15:46:41 +02:00
1 parent e44174517f
commit 1c89b0a0eb
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
// @ts-nocheck
'use client';
// @ts-nocheck
import { useState, useEffect } from 'react';
import { useApiGet } from '@/lib/hooks/useApi';
import { DataTable } from '@/components/data-table';
+1
View File
@@ -1,5 +1,6 @@
"use client"
import { useState } from "react"
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./ui/table"
import { Button } from "./ui/button"
import { Input } from "./ui/input"