style: auto-fix lint and format
This commit is contained in:
1 parent
a2668740c0
commit
fc80a61aef
2 files changed
+3
-7
No files matched your search
@@ -192,13 +192,9 @@ export const QueryRefreshIndicator = () => {
|
||||
};
|
||||
|
||||
const QueryRow = ({ row }: { row: QueryStatusRow }) => {
|
||||
const rowColor = statusColorMap[
|
||||
row.fetchStatus === "fetching" ? "fetching" : `idle_${row.status}`
|
||||
] ?? "gray";
|
||||
const rowColor = statusColorMap[row.fetchStatus === "fetching" ? "fetching" : `idle_${row.status}`] ?? "gray";
|
||||
|
||||
const updatedLabel = row.dataUpdatedAt > 0
|
||||
? dayjs(row.dataUpdatedAt).fromNow()
|
||||
: "never";
|
||||
const updatedLabel = row.dataUpdatedAt > 0 ? dayjs(row.dataUpdatedAt).fromNow() : "never";
|
||||
|
||||
return (
|
||||
<Group gap="xs" wrap="nowrap">
|
||||
|
||||
Reference in new issue
Block a user