diff --git a/specifyweb/frontend/js_src/lib/components/SchemaConfig/index.tsx b/specifyweb/frontend/js_src/lib/components/SchemaConfig/index.tsx index 47a07bfd3f7..a8cc154cc45 100644 --- a/specifyweb/frontend/js_src/lib/components/SchemaConfig/index.tsx +++ b/specifyweb/frontend/js_src/lib/components/SchemaConfig/index.tsx @@ -17,7 +17,11 @@ import { formatUrl } from '../Router/queryString'; import { SchemaConfigHeader } from './Components'; import { SchemaConfigField } from './Field'; import { SchemaConfigColumn, SchemaConfigFields } from './Fields'; -import { useSchemaContainer, useContainerItems, useContainerString } from './Hooks'; +import { + useContainerItems, + useContainerString, + useSchemaContainer, +} from './Hooks'; import type { SchemaData } from './SetupHooks'; import { SchemaConfigTable } from './Table'; @@ -187,7 +191,5 @@ const handleSaved = async (rawLanguage: string): Promise => ) // Reload the page after schema changes .then((): void => - globalThis.location.assign( - formatUrl('/specify/task/schema-config/', { rawLanguage }) - ) + globalThis.location.assign(`/specify/schema-config/${rawLanguage}/`) );