From e8b52784ad6b1c7e18eb5278940a3b36daefc123 Mon Sep 17 00:00:00 2001 From: Brian Gann Date: Thu, 10 Aug 2023 00:46:18 -0400 Subject: [PATCH] cleanup --- src/components/utils.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/utils.tsx b/src/components/utils.tsx index f607bf4..3c59f6f 100644 --- a/src/components/utils.tsx +++ b/src/components/utils.tsx @@ -16,14 +16,14 @@ export interface ValueToDegreesOptions { maxValue: number; zeroTickAngle: number; maxTickAngle: number; -}; +} export interface ValueToRadiansOptions { minValue: number; maxValue: number; zeroTickAngle: number; maxTickAngle: number; -}; +} export const valueToDegrees = (value: number, options: ValueToDegreesOptions) => { // example: degree range is from 60 to 300 (240) maxTickAngle - zeroTickAngle