Skip to content

Commit

Permalink
fix typescript error with adding lenis to window
Browse files Browse the repository at this point in the history
  • Loading branch information
stefkn committed Jun 2, 2024
1 parent ce2179c commit 9ff0112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function formatCanonicalURL(url: string | URL) {

<script>
import Lenis from "lenis";
console.log(Lenis);
declare const window: any;

const lenis = new Lenis({
prevent: (test) => {return false;},
Expand Down

0 comments on commit 9ff0112

Please sign in to comment.