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
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]);