Skip to content

Instantly share code, notes, and snippets.

// App.jsx
import { Routes, Route, Navigate } from "react-router-dom";
import { lazy, Suspense } from "react";
import AuthRoute from "./components/AuthRoute";
import "./App.css";
import Loading from "./components/Loading";
import Settings from "./components/UserSettings";
import Wall from "./components/PublicWallView";
const Home = lazy(() => import("./pages/Home"));