refactor: standardize translation usage across components and pages by removing specific namespace references

This commit is contained in:
Mauricio Siu
2025-03-15 21:38:49 -06:00
parent 0bc2734925
commit 7f2ebab66c
84 changed files with 1533 additions and 1548 deletions
+2 -2
View File
@@ -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,