Merge branch 'main' into feature/better-repack-modal

This commit is contained in:
Zamitto 2024-05-18 14:57:54 -03:00 committed by GitHub
commit 6fd38df79e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 241 additions and 143 deletions

View file

@ -42,7 +42,7 @@ export function Modal({
}, [onClose]);
const isTopMostModal = () => {
const openModals = document.querySelectorAll("[role=modal]");
const openModals = document.querySelectorAll("[role=dialog]");
return (
openModals.length &&

View file

@ -33,7 +33,7 @@ export function HeroPanelPlaytime({
const numberFormatter = useMemo(() => {
return new Intl.NumberFormat(i18n.language, {
maximumFractionDigits: 1,
maximumFractionDigits: 0,
});
}, [i18n.language]);