mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: heat doesn't actually ricochet lol
This commit is contained in:
1 parent
8e2302a6d4
commit
82933aaf1e
6 files changed
+14
-11
No files matched your search
@@ -1,5 +1,8 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
/**
|
||||
* @deprecated DO NOT USE; CAUSES NEXT JS HYDRATION ISSUES
|
||||
*/
|
||||
export function useWideFormat(size = 880) {
|
||||
function hasWideFormat() {
|
||||
return typeof window !== 'undefined' && window.innerWidth > size;
|
||||
|
||||
Reference in new issue
Block a user