Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove rendundant loading shimmer

Jonathan Summers-Muir53c530b3c6d4
diff --git a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
index 4d078dcc3b2..a6abb86e153 100644
--- a/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsPreviewer.tsx
@@ -170,16 +170,17 @@ export const LogsPreviewer: React.FC<Props> = ({ projectRef, queryType, override
}
>
<div className={condensedLayout ? 'px-4' : ''}>
- {showChart && <LogEventChart
- data={!isLoading ? logData : undefined}
- onBarClick={(timestampMicro) => {
- handleSearch({ query: filters.search_query, toMicro: timestampMicro })
- }}
- />}
+ {showChart && (
+ <LogEventChart
+ data={!isLoading ? logData : undefined}
+ onBarClick={(timestampMicro) => {
+ handleSearch({ query: filters.search_query, toMicro: timestampMicro })
+ }}
+ />
+ )}
</div>
</div>
<div className="flex flex-col flex-grow relative pt-4">
- {isLoading && <div className="logs-shimmering-loader w-full h-0.5"></div>}
<ShimmerLine active={isLoading} />
<LoadingOpacity active={isLoading}>
<LogTable data={logData} queryType={queryType} />