Skip to content

Commit

Permalink
docs: fix media query
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Dec 2, 2024
1 parent 35bde43 commit b1c7659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/docs/src/content/utilities/media-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can also pass a getter that returns a string.
import { MediaQuery } from "runed";
let media = $state("(min-width: 640px)");
const query = new MediaQuery(() => media);
const screen = new MediaQuery(() => media);
</script>
Media query {media} is currently {screen.matches}
Expand Down

0 comments on commit b1c7659

Please sign in to comment.