Merge branch 'main' into teste-locale2

This commit is contained in:
PIRADATA 2024-05-18 00:30:36 -03:00 committed by GitHub
commit 6ae5f92ba9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 6706 additions and 94 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]);