diff --git a/packages/arcs/src/arc_link_labels/useArcLinkLabelsTransition.ts b/packages/arcs/src/arc_link_labels/useArcLinkLabelsTransition.ts index bf275fbeea..547764864e 100644 --- a/packages/arcs/src/arc_link_labels/useArcLinkLabelsTransition.ts +++ b/packages/arcs/src/arc_link_labels/useArcLinkLabelsTransition.ts @@ -148,7 +148,7 @@ const interpolateTextAnchor = ( * as `interpolateLink`, unfortunately `react-spring` does not support * multiple output values from a single interpolation. * - * We should revise this if `react-spring` add this feature at some point. + * We should revise this if `react-spring` adds this feature at some point. */ const interpolateTextPosition = ( startAngleValue: SpringValue, diff --git a/packages/arcs/src/arc_link_labels/useArcLinks.ts b/packages/arcs/src/arc_link_labels/useArcLinks.ts index e828757bcb..4f7e707cfc 100644 --- a/packages/arcs/src/arc_link_labels/useArcLinks.ts +++ b/packages/arcs/src/arc_link_labels/useArcLinks.ts @@ -23,7 +23,7 @@ export const useArcLinks = < }: { data: Datum[] // arcs with a length below this (end angle - start angle in degrees) - // are gonna be excluded, this can be typically used to avoid having + // are going to be excluded, this can typically be used to avoid having // overlapping labels. skipAngle?: number // offset from arc outer radius in pixels diff --git a/packages/arcs/src/centers.ts b/packages/arcs/src/centers.ts index 72c8d183c8..19bc71142d 100644 --- a/packages/arcs/src/centers.ts +++ b/packages/arcs/src/centers.ts @@ -103,7 +103,7 @@ export const useArcCenters = < // 1.0: outer radius offset?: number // arcs with a length below this (end angle - start angle in degrees) - // are gonna be excluded, this can be typically used to avoid having + // are going to be excluded, this can typically be used to avoid having // overlapping labels. skipAngle?: number // this can be used to append extra properties to the centers, diff --git a/packages/arcs/src/interpolateArc.ts b/packages/arcs/src/interpolateArc.ts index bce3c1cf07..c589ffb610 100644 --- a/packages/arcs/src/interpolateArc.ts +++ b/packages/arcs/src/interpolateArc.ts @@ -3,8 +3,8 @@ import { ArcGenerator } from './types' /** * Directly animating paths for arcs leads to sub-optimal results - * as the interpolation is gonna be linear while we deal with polar coordinates, - * this interpolator is gonna generate proper arc transitions. + * as the interpolation is going to be linear while we deal with polar coordinates, + * this interpolator is going to generate proper arc transitions. * It should be used with the `useAnimatedArc` or `useArcsTransition` hooks. */ export const interpolateArc = ( diff --git a/packages/arcs/src/useArcGenerator.ts b/packages/arcs/src/useArcGenerator.ts index 929a22da87..54a4a07706 100644 --- a/packages/arcs/src/useArcGenerator.ts +++ b/packages/arcs/src/useArcGenerator.ts @@ -8,7 +8,7 @@ import { ArcGenerator, Arc } from './types' * Please note that both inner/outer radius aren't static * and should come from the arc itself, while it requires * more props on the arcs, it provides more flexibility - * because it's not limited to pie then but can also works + * because it's not limited to pie then but can also work * with charts such as sunbursts. */ export const useArcGenerator = ({ diff --git a/packages/arcs/src/utils.ts b/packages/arcs/src/utils.ts index 1ae05dc948..9119177a44 100644 --- a/packages/arcs/src/utils.ts +++ b/packages/arcs/src/utils.ts @@ -4,7 +4,7 @@ import { DatumWithArc } from './types' /** * Make sure an angle (expressed in radians) - * always fall in the range 0~2*PI. + * always falls in the range 0~2*PI. */ export const getNormalizedAngle = (angle: number) => { let normalizedAngle = angle % (Math.PI * 2)