mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 21:29:08 +03:00
polish: don't show Load older on error
This commit is contained in:
1 parent
0aa4f195e1
commit
cd16c4ce2f
1 file changed
+3
-1
@@ -191,11 +191,13 @@ export const LogsPreviewer: React.FC<Props> = ({ projectRef, queryType, override
|
||||
onHistogramToggle={() => setShowChart(!showChart)}
|
||||
/>
|
||||
</LoadingOpacity>
|
||||
{!error && (
|
||||
<div className="p-2">
|
||||
<Button onClick={() => loadOlder()} icon={<IconRewind />} type="default">
|
||||
<Button onClick={loadOlder} icon={<IconRewind />} type="default">
|
||||
Load older
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
{error && (
|
||||
<div className="flex w-full h-full justify-center items-center mx-auto">
|
||||
<Card className="flex flex-col gap-y-2 w-2/5 bg-scale-400">
|
||||
|
||||
Reference in new issue
Block a user