feat: apply layout

This commit is contained in:
2023-12-31 10:55:30 +01:00
parent e7ccc59a60
commit 1e09839696
6 changed files with 43 additions and 10 deletions

View File

@@ -44,6 +44,7 @@ type Props = {
onDeleteClick: (id: string) => void
onEditClick: (id: string) => void
}
export const DecksTable = ({ currentUserId, decks, onDeleteClick, onEditClick }: Props) => {
const handleEditClick = (id: string) => () => onEditClick(id)
const handleDeleteClick = (id: string) => () => onDeleteClick(id)