From 06a3e99951ba60e16c177e13d6ababdbf913a3a6 Mon Sep 17 00:00:00 2001 From: Kunal Gupta <39487888+iamKunalGupta@users.noreply.github.com> Date: Tue, 13 Feb 2024 03:48:29 +0530 Subject: [PATCH] chore: reformat ui --- ui/app/mirrors/[mirrorId]/cdc.tsx | 9 +++++---- ui/tsconfig.json | 10 +++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ui/app/mirrors/[mirrorId]/cdc.tsx b/ui/app/mirrors/[mirrorId]/cdc.tsx index 3ca1737251..d7f479cff2 100644 --- a/ui/app/mirrors/[mirrorId]/cdc.tsx +++ b/ui/app/mirrors/[mirrorId]/cdc.tsx @@ -70,10 +70,11 @@ export const SnapshotStatusTable = ({ status }: SnapshotStatusProps) => { const [searchQuery, setSearchQuery] = useState(''); 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]; diff --git a/ui/tsconfig.json b/ui/tsconfig.json index ad4b679af6..c443fefcce 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -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"] }