瀏覽代碼

rename with verb

Jason Gorst 1 月之前
父節點
當前提交
28c374258d
共有 1 個文件被更改,包括 5 次插入0 次删除
  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)
+  )
+}