diff --git a/src/components/Table/Table.tsx b/src/components/Table/Table.tsx index 09559ca..ad3e14d 100644 --- a/src/components/Table/Table.tsx +++ b/src/components/Table/Table.tsx @@ -1,10 +1,11 @@ import styles from './Table.module.css' +import { RefObject } from 'react' type TableProps = { columns: { key: string; label: string }[] rows: T[] onRowClick?: (row: T) => void - lastRowRef?: React.RefObject + lastRowRef?: RefObject } const Table = ({ diff --git a/src/main.tsx b/src/main.tsx index e4d8806..a9f109c 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -2,8 +2,4 @@ import ReactDOM from 'react-dom/client' import App from './App.tsx' import './index.css' -ReactDOM.createRoot(document.getElementById('root')!).render( - /**/ - , - /*,*/ -) +ReactDOM.createRoot(document.getElementById('root')!).render()