mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-03 18:52:17 +00:00
refactor: standardize translation usage across components and pages by removing specific namespace references
This commit is contained in:
@@ -52,7 +52,7 @@ interface Props {
|
||||
}
|
||||
|
||||
const LocalServerConfig = ({ onSave }: Props) => {
|
||||
const { t } = useTranslation("settings");
|
||||
const { t } = useTranslation();
|
||||
|
||||
const form = useForm<Schema>({
|
||||
defaultValues: getLocalServerData(),
|
||||
|
||||
@@ -54,7 +54,7 @@ const TraefikPortsSchema = z.object({
|
||||
type TraefikPortsForm = z.infer<typeof TraefikPortsSchema>;
|
||||
|
||||
export const ManageTraefikPorts = ({ children, serverId }: Props) => {
|
||||
const { t } = useTranslation("settings");
|
||||
const { t } = useTranslation();
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
const form = useForm<TraefikPortsForm>({
|
||||
|
||||
Reference in New Issue
Block a user