From c707b3af917af40a9a06639d217937bfecef9ecd Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 26 Jul 2021 19:00:53 +0200 Subject: fixed a single typescript error --- components/tweaks.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'components/tweaks.tsx') diff --git a/components/tweaks.tsx b/components/tweaks.tsx index 43a8ecf..90b2aea 100644 --- a/components/tweaks.tsx +++ b/components/tweaks.tsx @@ -407,13 +407,11 @@ export const Tweaks = (props: TweakProps) => { setPhysics({ ...physics, algorithmName: v.target.value }) }} > - {physics.algorithmOptions.map((opt: string, i: number) => { - return ( - - ) - })} + {physics.algorithmOptions.map((opt: string) => ( + + ))} {/*