Skip to content

Commit

Permalink
update some packages to try and fix css issues (#266)
Browse files Browse the repository at this point in the history
* update some packages to try and fix css issues

* Fix issues with type change of themeprovider
  • Loading branch information
alasdairwilson committed Oct 9, 2024
1 parent 6014b4c commit f60e188
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 119 deletions.
3 changes: 2 additions & 1 deletion components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import { SectionLink } from "./ui/LinkedSection"
import { findLinks } from "lib/findSectionLinks"
import PlausibleProvider from "next-plausible"
import { useTheme } from "next-themes"
import { ThemeProvider, CssBaseline } from "@mui/material"
import { ThemeProvider } from "@mui/material/styles"
import { CssBaseline } from "@mui/material"
import { LightTheme, DarkTheme } from "./MuiTheme"

type Props = {
Expand Down
2 changes: 1 addition & 1 deletion components/content/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Heading: React.FC<HeadingProps> = ({ content, section, tag }) => {

const generateHeadingURL = () => {
const href: string = typeof window !== "undefined" ? window.location.href.split("#")[0] : ""
return href + "#" + generateHeadingContent() ?? ""
return href + "#" + generateHeadingContent()
}

const onCopyHandler = () => {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@dnd-kit/sortable": "^3.0.0",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.7.1",
"@mui/icons-material": "5.15.18",
"@mui/icons-material": "6.1.2",
"@mui/material": "^5.2.5",
"@mui/x-date-pickers": "^6.19.0",
"@next-auth/prisma-adapter": "^1.0.5",
Expand Down Expand Up @@ -54,10 +54,10 @@
"isomorphic-git": "^1.21.0",
"js-yaml": "^4.1.0",
"marked": "^4.1.1",
"next": "14.2.10",
"next": "14.2.14",
"next-auth": "^4.24.7",
"next-plausible": "3.12.0",
"next-themes": "0.2.1",
"next-themes": "0.3.0",
"openai": "^4.0.0",
"postcss": "^8.4.19",
"prettier": "^3.1.1",
Expand All @@ -80,7 +80,7 @@
"sentence-similarity": "^3.1.0",
"simple-git": "^3.0.0",
"swr": "^2.1.0",
"tailwindcss": "^3.2.4",
"tailwindcss": "^3.4.13",
"unist-util-visit": "^4.1.1",
"use-text-selection": "^1.1.5",
"uuid": "^9.0.0",
Expand All @@ -103,7 +103,7 @@
"prisma": "^4.11.0",
"start-server-and-test": "^2.0.0",
"ts-node": "^10.9.1",
"typescript": "4.8.4"
"typescript": "5.6.2"
},
"packageManager": "[email protected]",
"resolutions": {
Expand Down
Loading

0 comments on commit f60e188

Please sign in to comment.