Browse Source

rename with verb

Jason Gorst 1 month ago
parent
commit
28c374258d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/utils/getCharacterOptions.js

+ 5 - 0
app/utils/getCharacterOptions.js

@@ -0,0 +1,5 @@
+export default function getCharacterOptions(characters) {
+  return _mapValues(optionsFields, (_, field) =>
+    uniqValues(characters, field)
+  )
+}