Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kexogg committed Feb 18, 2024
1 parent ae90007 commit 19fdc9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import styles from './Table.module.css'
import { RefObject } from 'react'

type TableProps<T> = {
columns: { key: string; label: string }[]
rows: T[]
onRowClick?: (row: T) => void
lastRowRef?: React.RefObject<HTMLTableRowElement>
lastRowRef?: RefObject<HTMLTableRowElement>
}

const Table = <T = unknown,>({
Expand Down
6 changes: 1 addition & 5 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import './index.css'

ReactDOM.createRoot(document.getElementById('root')!).render(
/*<React.StrictMode>*/
<App />,
/*</React.StrictMode>,*/
)
ReactDOM.createRoot(document.getElementById('root')!).render(<App />)

0 comments on commit 19fdc9a

Please sign in to comment.