summaryrefslogtreecommitdiff
path: root/components/tweaks.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/tweaks.tsx')
-rw-r--r--components/tweaks.tsx12
1 files changed, 5 insertions, 7 deletions
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 (
- <option key={i} value={opt}>
- {opt}
- </option>
- )
- })}
+ {physics.algorithmOptions.map((opt: string) => (
+ <option key={opt} value={opt}>
+ {opt}
+ </option>
+ ))}
</Select>
{/* <DropDownMenu
displayValue={physics.algorithmName}