Rename "user-workspace.loader" to "load-user-workspace"

The file "user-workspace.loader.ts" was renamed to "load-user-workspace.ts", in order to better reflect its purpose. All imports across different components and settings pages were updated accordingly. The changes ensure the application adheres to naming conventions, enhancing code readability and maintainability.
This commit is contained in:
giancarlo
2024-05-10 20:53:14 +07:00
parent 9acf6d1295
commit 9d3f6eee92
6 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ import { withI18n } from '~/lib/i18n/with-i18n';
import { HomeMenuNavigation } from './_components/home-menu-navigation';
import { HomeMobileNavigation } from './_components/home-mobile-navigation';
import { HomeSidebar } from './_components/home-sidebar';
import { loadUserWorkspace } from './_lib/server/user-workspace.loader';
import { loadUserWorkspace } from './_lib/server/load-user-workspace';
function UserHomeLayout({ children }: React.PropsWithChildren) {
const workspace = use(loadUserWorkspace());