Skip to content

Commit 63efb6b

Browse files
committed
Fix: codefactor code-smells
1 parent e86036b commit 63efb6b

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import './App.css';
3-
import Board from './components/TicTacToe/Board';
43
import FilterableProductTable from './components/FilterableProductTable';
54

65
function App() {

src/components/FilterableProductTable/index.tsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Search from "antd/es/transfer/search";
21
import ProductTable from "./ProductTable";
32
import SearchTable from "./SearchBar";
43

@@ -9,14 +8,14 @@ interface IProduct{
98
name: string;
109
}
1110

12-
const ProductData: IProduct[] = [
13-
{ category: "Fruits", price: "$1", stocked: true, name: "Apple" },
14-
{ category: "Fruits", price: "$1", stocked: true, name: "Dragonfruit" },
15-
{ category: "Fruits", price: "$2", stocked: false, name: "Passionfruit" },
16-
{ category: "Vegetables", price: "$2", stocked: true, name: "Spinach" },
17-
{ category: "Vegetables", price: "$4", stocked: false, name: "Pumpkin" },
18-
{ category: "Vegetables", price: "$1", stocked: true, name: "Peas" }
19-
];
11+
// const ProductData: IProduct[] = [
12+
// { category: "Fruits", price: "$1", stocked: true, name: "Apple" },
13+
// { category: "Fruits", price: "$1", stocked: true, name: "Dragonfruit" },
14+
// { category: "Fruits", price: "$2", stocked: false, name: "Passionfruit" },
15+
// { category: "Vegetables", price: "$2", stocked: true, name: "Spinach" },
16+
// { category: "Vegetables", price: "$4", stocked: false, name: "Pumpkin" },
17+
// { category: "Vegetables", price: "$1", stocked: true, name: "Peas" }
18+
// ];
2019

2120
export default function FilterableProductTable(){
2221
return (

0 commit comments

Comments
 (0)