Skip to content

Commit

Permalink
updates version
Browse files Browse the repository at this point in the history
  • Loading branch information
rdtabb committed Sep 29, 2023
1 parent caea540 commit 29433cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "meets",
"private": true,
"version": "1.0.2",
"version": "1.1.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
23 changes: 2 additions & 21 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { lazy, Suspense } from "react";
import { Routes, Route } from "react-router-dom";
import ErrorBoundary from "./components/ErrorBoundary/ErrorBoundary";
import useGeneralContext from "./hooks/useContextHooks/useGeneralContext";
Expand All @@ -9,10 +8,6 @@ import Usersearch from "./components/Userlist/Usersearch";
import Auser from "./components/AnotherUser/Auser";
import LikedPosts from "./components/LikedPosts/LikedPosts";
import Chat from "./components/Chat/Chat";
import Loading from "./components/LoadingStates/LoadingPosts";

const LazyLikedPosts = lazy(() => import("./components/LikedPosts/LikedPosts"));
const LazyChat = lazy(() => import("./components/Chat/Chat"));

export const cookies = new Cookies();

Expand All @@ -38,22 +33,8 @@ const App = () => {
<Route path="/" element={<Profile />} />
<Route path="/usersearch" element={<Usersearch />} />
<Route path="/user/:id" element={<Auser />} />
<Route
path="/likedposts"
element={
<Suspense fallback={<Loading />}>
<LazyLikedPosts />
</Suspense>
}
/>
<Route
path="/chat"
element={
<Suspense fallback={<h1>Loading chat...</h1>}>
<LazyChat />
</Suspense>
}
/>
<Route path="/likedposts" element={<LikedPosts />} />
<Route path="/chat" element={<Chat />} />
</Routes>
</ErrorBoundary>
);
Expand Down

0 comments on commit 29433cc

Please sign in to comment.