Skip to content

Commit

Permalink
upgrades, browserrouter, style
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Nov 1, 2023
1 parent 9c7a207 commit f0c1883
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 75 deletions.
164 changes: 98 additions & 66 deletions package-lock.json

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

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lemmy-modder",
"version": "1.3.2",
"version": "1.3.3",
"description": "Lemmy Moderation App",
"author": "tgxn",
"license": "MIT",
Expand All @@ -20,10 +20,10 @@
"@braintree/sanitize-url": "^6.0.2",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/base": "^5.0.0-beta.21",
"@mui/icons-material": "^5.14.15",
"@mui/joy": "^5.0.0-beta.12",
"@mui/lab": "^5.0.0-alpha.150",
"@mui/base": "^5.0.0-beta.22",
"@mui/icons-material": "^5.14.16",
"@mui/joy": "^5.0.0-beta.13",
"@mui/lab": "^5.0.0-alpha.151",
"@reduxjs/toolkit": "^1.9.7",
"@tanstack/react-query": "^5.4.3",
"@tanstack/react-query-devtools": "^5.4.3",
Expand All @@ -43,7 +43,7 @@
"react-moment": "^1.1.3",
"react-number-format": "^5.3.1",
"react-redux": "^8.1.1",
"react-router-dom": "^6.17.0",
"react-router-dom": "^6.18.0",
"redux": "^4.2.1",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
Expand Down
6 changes: 3 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";

import { Routes, Route, Navigate } from "react-router-dom";
import { HashRouter } from "react-router-dom";
import { BrowserRouter } from "react-router-dom";

import { useTheme } from "@mui/joy";

Expand Down Expand Up @@ -58,7 +58,7 @@ function PageRouter() {
overflow: "hidden",
}}
>
<HashRouter>
<BrowserRouter>
<SiteHeader height="50px" />

<Global
Expand Down Expand Up @@ -184,7 +184,7 @@ function PageRouter() {
/>
</Routes>
</Box>
</HashRouter>
</BrowserRouter>
</Container>
);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/ListItem/Common.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export function PersonMetaLine({ creator, by = false, sx }) {
display: "flex",
flexDirection: "row",
gap: 1,
py: 0.5,
...sx,
}}
>
Expand Down

0 comments on commit f0c1883

Please sign in to comment.