Browse Source

fixed arg name

Shun Miyazawa 4 years ago
parent
commit
b5b81762d4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/app/src/components/Admin/Security/SecuritySetting.jsx

+ 2 - 2
packages/app/src/components/Admin/Security/SecuritySetting.jsx

@@ -39,8 +39,8 @@ const getDeletionTypeForT = (deletionType) => {
   }
 };
 
-const getDeleteConfigValueForT = (deleteConfig) => {
-  switch (deleteConfig) {
+const getDeleteConfigValueForT = (DeleteConfigValue) => {
+  switch (DeleteConfigValue) {
     case PageDeleteConfigValue.Anyone:
     case null:
       return 'security_setting.anyone';