Skip to content

Commit

Permalink
refactor sharing pages to use RTK (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
sickelap authored Jan 2, 2024
1 parent fb6203d commit 1b73e37
Show file tree
Hide file tree
Showing 17 changed files with 727 additions and 457 deletions.
130 changes: 65 additions & 65 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ import { AdminPage } from "./layouts/settings/AdminPage";
import { Library } from "./layouts/settings/Library";
import { Profile } from "./layouts/settings/Profile";
import { Settings } from "./layouts/settings/Settings";
import { SharedFromMe } from "./layouts/sharing/SharedFromMe";
import { SharedToMe } from "./layouts/sharing/SharedToMe";
import { SharedByMe } from "./layouts/sharing/SharedByMe";
import { SharedWithMe } from "./layouts/sharing/SharedWithMe";
import { selectIsAuthenticated } from "./store/auth/authSelectors";
import { useAppSelector } from "./store/store";

Expand Down Expand Up @@ -139,8 +139,8 @@ export function App() {
<Route path="explorer" element={<Explorer />} />
<Route path="albumviewer" element={<AlbumViewer />} />
<Route path="useralbum/:albumID" element={<AlbumUserGallery />} />
<Route path="shared/tome/:which" element={<SharedToMe />} />
<Route path="shared/fromme/:which" element={<SharedFromMe />} />
<Route path="shared/tome/:which" element={<SharedWithMe />} />
<Route path="shared/fromme/:which" element={<SharedByMe />} />
<Route path="admin" element={<AdminPage />} />
<Route path="map" element={<PhotoMap />} />
<Route path="placetree" element={<LocationTree />} />
Expand Down
Loading

0 comments on commit 1b73e37

Please sign in to comment.