Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix issue where shared key caused rendering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Mar 22, 2024
1 parent 3b52700 commit 223cf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-server-frontend/src/ExampleContentView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ export const ExampleContentView = () => {
)}
{pkg && (viewMode === "schematic" || viewMode === "split") && (
<Schematic
key={pkg?.last_updated_at}
key={`sch-${pkg?.last_updated_at}`}
style={{ height: itemHeight }}
soup={pkg.tscircuit_soup}
showTable={false}
/>
)}
{pkg && (viewMode === "pcb" || viewMode === "split") && (
<PCBViewer
key={pkg?.last_updated_at}
key={`pcb-${pkg?.last_updated_at}`}
height={itemHeight}
soup={pkg.tscircuit_soup}
/>
Expand Down

0 comments on commit 223cf61

Please sign in to comment.