Skip to content

Commit

Permalink
fix styles. fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
zag committed Apr 14, 2024
1 parent 34bf84e commit f328266
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.pod6
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
=TITLE CHANGES
=head1 Upcoming
=head1 0.1.22
=item1 * fix types
=head1 0.1.21
=item1 * add support for =FOOTER block, which adds content to each page
=item1 * update styles for links in TOC
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "podlite-web",
"description": "📖 Create static websites with Next.js and the Podlite markup language.",
"version": "0.1.21",
"version": "0.1.22",
"private": true,
"scripts": {
"next_dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion src/components/service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const CookieConsent = ({ id, children, buttonCaption }) => {
!process.browser
? 1
: (document && document.cookie.indexOf(DISMISSED_COOKIE) > -1) ||
(window && window.navigator && window.navigator.CookiesOK)
((window as any)?.navigator?.CookiesOK)
const [showConsent, setShowConsent] = useState(!isCookieConsentDismissed())
const onOkClick = () => {
setCookie(DISMISSED_COOKIE, 'yes', 365, window.location.hostname, '/'), setShowConsent(false)
Expand Down

0 comments on commit f328266

Please sign in to comment.