mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-19 02:15:17 +00:00
refactor: standardize translation usage across components and pages by removing specific namespace references
This commit is contained in:
@@ -519,7 +519,7 @@ function LogoWrapper() {
|
||||
}
|
||||
|
||||
function SidebarLogo() {
|
||||
const { t } = useTranslation("common");
|
||||
const { t } = useTranslation();
|
||||
const { state } = useSidebar();
|
||||
const { data: isCloud } = api.settings.isCloud.useQuery();
|
||||
const { data: user } = api.user.get.useQuery();
|
||||
@@ -804,7 +804,7 @@ function SidebarLogo() {
|
||||
}
|
||||
|
||||
export default function Page({ children }: Props) {
|
||||
const { t } = useTranslation("common");
|
||||
const { t } = useTranslation();
|
||||
|
||||
const [defaultOpen, setDefaultOpen] = useState<boolean | undefined>(
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user