mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
removed ternary operator usage for conditionally rendering LoadNewLogsButton
This commit is contained in:
1 parent
353f632009
commit
0c693bf6f7
1 file changed
+1
-1
@@ -111,7 +111,7 @@ export const LogPage = () => {
|
||||
{error && (
|
||||
<Typography.Text className="text-center w-full block">Could not fetch data</Typography.Text>
|
||||
)}
|
||||
{newCount ? <LoadNewLogsButton onClick={handleRefresh} /> : null}
|
||||
{newCount && <LoadNewLogsButton onClick={handleRefresh} />}
|
||||
<LogTable data={logData} />
|
||||
</SettingsLayout>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user