mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
move
This commit is contained in:
1 parent
cb845534b2
commit
2a61979df2
1 file changed
+2
-2
@@ -55,8 +55,6 @@ const FunctionDiff = ({
|
||||
}
|
||||
}, [diffFileKeys, activeFileKey])
|
||||
|
||||
if (diffFileKeys.length === 0) return null
|
||||
|
||||
const currentFile = currentBody.find((f) => fileKey(f.name) === activeFileKey)
|
||||
const mainFile = mainBody.find((f) => fileKey(f.name) === activeFileKey)
|
||||
|
||||
@@ -69,6 +67,8 @@ const FunctionDiff = ({
|
||||
return 'plaintext'
|
||||
}, [activeFileKey])
|
||||
|
||||
if (diffFileKeys.length === 0) return null
|
||||
|
||||
return (
|
||||
<Card>
|
||||
<CardHeader className="space-y-0 px-4">
|
||||
|
||||
Reference in new issue
Block a user