fix: heat doesn't actually ricochet lol

This commit is contained in:
TrèsAbhi committed 2024-05-24 13:48:50 -05:00
1 parent 8e2302a6d4
commit 82933aaf1e
6 files changed
+14 -11

No files matched your search

+3
View File
@@ -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;