File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2323 "typescript" : " ^5.0.0"
2424 },
2525 "dependencies" : {
26+ "@tscircuit/core" : " ^0.0.331" ,
2627 "circuit-json" : " ^0.0.144" ,
2728 "zustand" : " ^5.0.3"
2829 }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { useCallback } from "react"
22import { useStore } from "./store"
33import { CircuitJsonPreview } from "@tscircuit/runframe"
44import type { AnyCircuitElement } from "circuit-json"
5- import type { SimpleRouteJson } from "./SimpleRouteJson "
5+ import type { SimpleRouteJson } from "@tscircuit/core "
66
77export const App = ( ) => {
88 const circuitJson = useStore ( ( s ) => s . circuitJson )
@@ -20,7 +20,7 @@ export const App = () => {
2020 route_type : "wire" ,
2121 x : point . x ,
2222 y : point . y ,
23- layer : point . layer ,
23+ layer : point . layer as "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" ,
2424 width : simpleRouteJson . minTraceWidth ,
2525 } ) ) ,
2626 }
You can’t perform that action at this time.
0 commit comments