Skip to content

Commit

Permalink
improvement: split twitter
Browse files Browse the repository at this point in the history
  • Loading branch information
maulanasdqn committed Apr 23, 2023
1 parent 04e94f1 commit 1aad732
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/routers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ import { SuspenseError } from "@/modules";
import { ETwitterEmbedModule } from "@/modules/challange/beginner/twitter-embed/error";
import { LTwitterEmbedModule } from "@/modules/challange/beginner/twitter-embed/loading";
import HomePages from "@/pages";
import TwitterEmmbedPages from "@/pages/challenge/beginner/twitter-embed";
import { lazy } from "react";
import { createBrowserRouter } from "react-router-dom";

const TwitterEmmbedPages = lazy(
() => import("@/pages/challenge/beginner/twitter-embed")
);

const routes = [
{
path: "/",
Expand Down

0 comments on commit 1aad732

Please sign in to comment.