@@ -32,7 +32,6 @@ import {
3232 TooltipTrigger ,
3333} from '@/components/ui'
3434import { useSession } from '@/lib/auth-client'
35- import { isDev } from '@/lib/environment'
3635import { createLogger } from '@/lib/logs/console/logger'
3736import { cn } from '@/lib/utils'
3837import { useUserPermissionsContext } from '@/app/workspace/[workspaceId]/providers/workspace-permissions-provider'
@@ -414,7 +413,7 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
414413 < Tooltip >
415414 < TooltipTrigger asChild >
416415 < div className = 'inline-flex h-12 w-12 cursor-not-allowed items-center justify-center rounded-[11px] border bg-card text-card-foreground opacity-50 shadow-xs transition-colors' >
417- < Trash2 className = 'h-5 w-5 ' />
416+ < Trash2 className = 'h-4 w-4 ' />
418417 </ div >
419418 </ TooltipTrigger >
420419 < TooltipContent > { getTooltipText ( ) } </ TooltipContent >
@@ -499,7 +498,7 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
499498 < TooltipTrigger asChild >
500499 { isDisabled ? (
501500 < div className = 'inline-flex h-12 w-12 cursor-not-allowed items-center justify-center rounded-[11px] border bg-card text-card-foreground opacity-50 shadow-xs transition-colors' >
502- < Copy className = 'h-5 w-5 ' />
501+ < Copy className = 'h-4 w-4 ' />
503502 </ div >
504503 ) : (
505504 < Button
@@ -564,9 +563,9 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
564563 { isDisabled ? (
565564 < div className = 'inline-flex h-12 w-12 cursor-not-allowed items-center justify-center rounded-[11px] border bg-card text-card-foreground opacity-50 shadow-xs transition-colors' >
566565 { isAutoLayouting ? (
567- < RefreshCw className = 'h-5 w-5 animate-spin' />
566+ < RefreshCw className = 'h-4 w-4 animate-spin' />
568567 ) : (
569- < Layers className = 'h-5 w-5 ' />
568+ < Layers className = 'h-4 w-4 ' />
570569 ) }
571570 </ div >
572571 ) : (
@@ -722,7 +721,7 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
722721 < TooltipTrigger asChild >
723722 { isDisabled ? (
724723 < div className = 'inline-flex h-12 w-12 cursor-not-allowed items-center justify-center rounded-[11px] border bg-card text-card-foreground opacity-50 shadow-xs transition-colors' >
725- < Store className = 'h-5 w-5 ' />
724+ < Store className = 'h-4 w-4 ' />
726725 </ div >
727726 ) : (
728727 < Button
@@ -776,7 +775,7 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
776775 isDebugging && 'text-amber-500'
777776 ) }
778777 >
779- < Bug className = 'h-5 w-5 ' />
778+ < Bug className = 'h-4 w-4 ' />
780779 </ div >
781780 ) : (
782781 < Button variant = 'outline' onClick = { handleDebugToggle } className = { buttonClass } >
@@ -1003,8 +1002,7 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
10031002 { renderToggleButton ( ) }
10041003 { isExpanded && < ExportControls /> }
10051004 { isExpanded && renderAutoLayoutButton ( ) }
1006- { ! isDev && isExpanded && renderDuplicateButton ( ) }
1007- { isDev && renderDuplicateButton ( ) }
1005+ { renderDuplicateButton ( ) }
10081006 { renderDeleteButton ( ) }
10091007 { ! isDebugging && renderDebugModeToggle ( ) }
10101008 { isExpanded && renderPublishButton ( ) }
0 commit comments