Skip to content

Commit fcf0e37

Browse files
committed
reloading 404 not found error removed
1 parent 3affe22 commit fcf0e37

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/pages/Customers.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const arr: DataType[] = [
6464
];
6565

6666
const Customers = () => {
67-
const [data] = useState<DataType[]>(arr);
67+
const [data] = useState(arr);
6868

6969
const Table = useCallback(TableHOC<DataType>(columns, data, "dashboard-product-box", "Customers", true), []);
7070

vercel.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
3+
}

0 commit comments

Comments
 (0)