Fix linter warnings
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
};
|
||||
|
||||
const getPath = (side: 'left' | 'right') => {
|
||||
const yStart = visualUp ? 64 : 0;
|
||||
const yStart = visualUp ? 64 : 8;
|
||||
const yEnd = visualUp ? 8 : 56;
|
||||
const xEnd = side === 'right' ? 56 : 8;
|
||||
return `M 32 ${yStart} Q 32 32 ${xEnd} ${yEnd}`;
|
||||
@@ -34,7 +34,7 @@
|
||||
</script>
|
||||
|
||||
<svg viewBox="0 0 64 64" width="64" height="64" class="junction">
|
||||
{#each paths as d}
|
||||
{#each paths as d (d)}
|
||||
<path {d} fill="none" stroke={branchColour} stroke-width="5" stroke-linecap="round" />
|
||||
{/each}
|
||||
<BaseTrack {activeElec} height={64} />
|
||||
|
||||
Reference in New Issue
Block a user