Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Vincze committed Feb 29, 2020
1 parent 1df6e1f commit 9033322
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
6 changes: 3 additions & 3 deletions docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ <h1 class="sb-nopreview_heading sb-heading">No Preview</h1>



<script src="runtime~main.38336914274a7d80e9d2.bundle.js"></script>
<script src="runtime~main.d50c15e1ead3bf112fcc.bundle.js"></script>

<script src="vendors~main.38336914274a7d80e9d2.bundle.js"></script>
<script src="vendors~main.d50c15e1ead3bf112fcc.bundle.js"></script>

<script src="main.38336914274a7d80e9d2.bundle.js"></script>
<script src="main.d50c15e1ead3bf112fcc.bundle.js"></script>

</body>
</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -158995,4 +158995,4 @@ function extend() {
/***/ })

}]);
//# sourceMappingURL=vendors~main.38336914274a7d80e9d2.bundle.js.map
//# sourceMappingURL=vendors~main.d50c15e1ead3bf112fcc.bundle.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/useBreakpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const calculateValue: TCalculateValue = function(defaultValue, breakpoint
return defaultValue
}

// @ts-ignore
const getInnerWidth = () => typeof window !== 'undefined' ? window.innerWidth : (global.innerWidth || 1920)

let cachedIw = getInnerWidth()
Expand Down

0 comments on commit 9033322

Please sign in to comment.