Skip to content

Commit

Permalink
fix page login layout
Browse files Browse the repository at this point in the history
  • Loading branch information
karenyov committed Apr 8, 2023
1 parent a27028d commit 92bc5f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/components/DataTableBase.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import { useColorMode, useTheme } from "@chakra-ui/react";
import DataTable,{ TableColumn } from "react-data-table-component";

import classnames from "classnames";

interface TableProps extends TableColumn<T> {
name: string;
selector: (row: T) => any;
width?: string;
}

interface Props {
columns: TableColumn<any>[];
columns: TableProps;
data: any[];
title?: string;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/debt/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function Debt() {
},
{
name: "Status",
width?: "180px",
width: "180px",
selector: (row: any) => (
<Tag
size="sm"
Expand Down

0 comments on commit 92bc5f4

Please sign in to comment.