[WEB-5043] feat: web vite migration (#7973)
This commit is contained in:
parent
118ecc81ba
commit
696fb96e87
642 changed files with 3013 additions and 2311 deletions
|
|
@ -9,6 +9,8 @@ import { useTranslation } from "@plane/i18n";
|
|||
import { Button, getButtonStyling } from "@plane/propel/button";
|
||||
import { PlaneLogo } from "@plane/propel/icons";
|
||||
import type { IWorkspace } from "@plane/types";
|
||||
// assets
|
||||
import WorkspaceCreationDisabled from "@/app/assets/workspace/workspace-creation-disabled.png?url";
|
||||
// components
|
||||
import { CreateWorkspaceForm } from "@/components/workspace/create-workspace-form";
|
||||
// hooks
|
||||
|
|
@ -18,10 +20,8 @@ import { useAppRouter } from "@/hooks/use-app-router";
|
|||
import { AuthenticationWrapper } from "@/lib/wrappers/authentication-wrapper";
|
||||
// plane web helpers
|
||||
import { getIsWorkspaceCreationDisabled } from "@/plane-web/helpers/instance.helper";
|
||||
// images
|
||||
import WorkspaceCreationDisabled from "@/public/workspace/workspace-creation-disabled.png";
|
||||
|
||||
const CreateWorkspacePage = observer(() => {
|
||||
function CreateWorkspacePage() {
|
||||
const { t } = useTranslation();
|
||||
// router
|
||||
const router = useAppRouter();
|
||||
|
|
@ -103,6 +103,6 @@ const CreateWorkspacePage = observer(() => {
|
|||
</div>
|
||||
</AuthenticationWrapper>
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
export default CreateWorkspacePage;
|
||||
export default observer(CreateWorkspacePage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue