Skip to content

Commit

Permalink
Merge pull request #214 from MattEzekiel/small-fix
Browse files Browse the repository at this point in the history
small code fixes
  • Loading branch information
midudev authored Mar 5, 2024
2 parents 3c693b6 + 662fe01 commit b3a3090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/CalendarButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ import Action from "./Action.astro"
button.innerHTML = text
}

const theme = document.documentElement.classList.contains(darkTheme) ? darkTheme : lightTheme
config.lightMode = theme
config.lightMode = document.documentElement.classList.contains(darkTheme) ? darkTheme : lightTheme

window.atcb_action(config, button)
})
Expand Down
2 changes: 1 addition & 1 deletion src/sections/PrincipalDate.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import CalendarButton from "../components/CalendarButton.astro"
import CalendarButton from "@/components/CalendarButton.astro"
import MapMarkerIcon from "@/icons/map-marker.astro"
import Action from "@/components/Action.astro"
---
Expand Down

0 comments on commit b3a3090

Please sign in to comment.