mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 09:59:10 +00:00
update web, fix integration issues
This commit is contained in:
parent
2fb721078e
commit
e162096c03
30 changed files with 476 additions and 2574 deletions
|
@ -31,7 +31,7 @@ export const BreakpointsProvider = (props: { children: React.ReactNode }) => {
|
|||
};
|
||||
|
||||
updateScreenSize();
|
||||
setImmediate(() => updateScreenSize());
|
||||
setTimeout(() => updateScreenSize(), 0);
|
||||
|
||||
mediaQueries.onDesktop.addEventListener('change', updateScreenSize);
|
||||
mediaQueries.onTablet.addEventListener('change', updateScreenSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue