style: apply biome lint fixes after portforward

This commit is contained in:
open-pascal
2026-05-20 00:54:11 +00:00
parent d48be77f5d
commit 3adae8acea
22 changed files with 92 additions and 98 deletions
+3 -4
View File
@@ -240,6 +240,7 @@ export default function ElevatorPanel() {
node?.type,
selectedId,
updateNode,
node,
])
const previewMetric = useCallback(
@@ -314,7 +315,7 @@ export default function ElevatorPanel() {
}, [clearLivePreview, node, setMovingNode, setSelection])
const handleDuplicate = useCallback(() => {
if (!(node && node.parentId)) return
if (!node?.parentId) return
triggerSFX('sfx:item-pick')
const duplicate = ElevatorNodeSchema.parse({
@@ -596,9 +597,7 @@ export default function ElevatorPanel() {
</div>
<select
className="h-9 w-full rounded-lg border border-border/50 bg-[#2C2C2E] px-2 text-sm text-foreground"
onChange={(event) =>
handleServiceBoundaryChange('fromLevelId', event.target.value)
}
onChange={(event) => handleServiceBoundaryChange('fromLevelId', event.target.value)}
value={fromLevelId}
>
{levels.map((level) => (