Skip to content

Commit

Permalink
chore: reformat ui
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Feb 12, 2024
1 parent e7dbab2 commit 06a3e99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions ui/app/mirrors/[mirrorId]/cdc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@ export const SnapshotStatusTable = ({ status }: SnapshotStatusProps) => {
const [searchQuery, setSearchQuery] = useState<string>('');
const [sortDir, setSortDir] = useState<'asc' | 'dsc'>('dsc');
const displayedRows = useMemo(() => {
const shownRows = allRows.filter((row: TableCloneSummary) =>
row.cloneTableSummary.tableName
?.toLowerCase()
.includes(searchQuery.toLowerCase())
const shownRows = allRows.filter(
(row: TableCloneSummary) =>
row.cloneTableSummary.tableName
?.toLowerCase()
.includes(searchQuery.toLowerCase())
);
shownRows.sort((a, b) => {
const aValue = a[sortField];
Expand Down
10 changes: 5 additions & 5 deletions ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"incremental": true,
"plugins": [
{
"name": "next",
},
"name": "next"
}
],
"paths": {
"@/*": ["./*"],
},
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}

0 comments on commit 06a3e99

Please sign in to comment.