mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
fix: Add Fragment to showGuideButton conditional rendering
This commit is contained in:
@@ -256,7 +256,7 @@ export default function Navbar() {
|
||||
className='mx-2 my-auto h-6'
|
||||
/>
|
||||
|
||||
{!!config.showGuideButton && (
|
||||
{!!config.showGuideButton ? (
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button
|
||||
@@ -291,6 +291,8 @@ export default function Navbar() {
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user