Harden import and paste validation, fix duplicate exports and variable declarations

This commit is contained in:
drjones
2026-06-13 19:51:09 -07:00
parent 44d89d205c
commit 1302aae31c
10 changed files with 331 additions and 72 deletions

View File

@@ -727,6 +727,12 @@ function PartInspector({ partId }: { partId: string }) {
/>
</div>
{part.type === 'pipe' && (
<div className="rounded-lg border border-zinc-800 bg-zinc-900/30 p-2.5 text-[11px] leading-snug text-zinc-400 mt-2">
<span className="font-semibold text-zinc-300">Tip:</span> Drag the glowing blue ends of the pipe in the 3D view to stretch its length.
</div>
)}
{part.type === 'pump' && <PumpCard part={part} />}
{part.type === 'airCompressor' && <AirCompressorCard part={part} />}
{part.type === 'reservoir' && <ReservoirCard part={part} />}