diff --git a/client/.prettierrc b/client/.prettierrc index 963354f..9bd5691 100644 --- a/client/.prettierrc +++ b/client/.prettierrc @@ -1,3 +1,11 @@ { - "printWidth": 120 + "printWidth": 120, + "overrides": [ + { + "files": ["*.json"], + "options": { + "tabWidth": 4 + } + } + ] } diff --git a/client/public/locales/en/common.json b/client/public/locales/en/common.json index 788c11d..0051bd3 100644 --- a/client/public/locales/en/common.json +++ b/client/public/locales/en/common.json @@ -164,6 +164,9 @@ "show_title": "[Spool #{{id}}] {{name}}", "archive": "Archive Spool" }, + "form": { + "new_location_prompt": "Enter a new location" + }, "messages": { "archive": "Are you sure you want to archive this spool?" } diff --git a/client/src/pages/spools/create.tsx b/client/src/pages/spools/create.tsx index 8ef22e3..79e1690 100644 --- a/client/src/pages/spools/create.tsx +++ b/client/src/pages/spools/create.tsx @@ -178,12 +178,7 @@ export const SpoolCreate: React.FC - + setNewLocation(event.target.value)} /> diff --git a/client/src/pages/spools/edit.tsx b/client/src/pages/spools/edit.tsx index d0daab2..7f220a7 100644 --- a/client/src/pages/spools/edit.tsx +++ b/client/src/pages/spools/edit.tsx @@ -250,7 +250,7 @@ export const SpoolEdit: React.FC = () => { {menu} setNewLocation(event.target.value)} />