Skip to content

Commit c3a0859

Browse files
committed
nit fixes
1 parent 1be32c3 commit c3a0859

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ export const GraphExample = () => {
6262
This project uses Node.js v16.10.0 for development.
6363

6464
### Available Scripts
65-
- `yarn start` - Runs Storybook for development
66-
- `yarn build` - Builds the package
67-
- `yarn test` - Runs tests
68-
- `yarn lint` - Runs linter
65+
- `npm start` - Runs Storybook for development
66+
- `npm run build` - Builds the package
67+
- `npm run test` - Runs tests
68+
- `npm run lint` - Runs linter
6969

7070
### Publishing
7171
1. Bump version:

src/algorithms/ManhattanDistance/ManhattanDistance.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ function CityMapDiagram({
231231
cx={pixelPos.x}
232232
cy={pixelPos.y}
233233
opacity={0.8}
234+
//@ts-ignore
234235
title={friend.id}
235236
/>
236237
<text

src/components/CycleFlow/CycleFlow.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ export const CycleFlow: React.FC<CycleFlowProps> = ({
106106
const path = `M ${source.x} ${source.y} A ${radius} ${radius} 0 ${largeArc} ${sweep} ${target.x} ${target.y}`;
107107

108108
// Calculate the midpoint of the arc for label placement
109-
const midAngle = (sourceAngle + targetAngle) / 2;
110109
const bulgeRatio = 0.15; // Controls how far the label sits from the direct line
111110
const midDistance = distance * bulgeRatio;
112111

src/visualizations/Globe/GlobeMap.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
import { GlobeMap } from './GlobeMap';
44

55
export default {
6-
title: 'Visualizations/GlobeMap',
6+
title: 'Visualizations/Map Modules',
77
component: GlobeMap,
88
parameters: {
99
docs: {

src/visualizations/Timeline/Timeline.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ const Timeline = ({ width = 1000, height = 500, events }: TimelineProps) => {
6868
</defs>
6969
{/* Main Timeline Line */}
7070
<animated.line
71-
// @ts-expect-error animated.line doesn't recognize SVG line attributes
7271
x1={50}
7372
y1={lineY}
7473
y2={lineY}

0 commit comments

Comments
 (0)