Skip to content

Commit

Permalink
Merge pull request #57 from tuzkituan/main
Browse files Browse the repository at this point in the history
Version 1.2.11
  • Loading branch information
tuzkituan authored Feb 24, 2024
2 parents b7ade9e + 91aeaa1 commit 177fdce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/hooks/media.hook.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from "react";

const useMediaQuery = (minWidth: number) => {
export const useMediaQuery = (minWidth: number) => {
const [state, setState] = useState({
windowWidth: window.innerWidth,
isDesiredWidth: false,
Expand All @@ -18,5 +18,3 @@ const useMediaQuery = (minWidth: number) => {

return state.isDesiredWidth;
};

export default useMediaQuery;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zeni-ui",
"private": false,
"version": "1.2.10-beta",
"version": "1.2.11-beta",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.d.ts",
Expand Down

0 comments on commit 177fdce

Please sign in to comment.