Moved SettingsProvider to root Providers component.

This commit is contained in:
Mike Cao 2023-12-09 21:30:57 -08:00
parent 92a513e4d0
commit 44e243ad12
3 changed files with 30 additions and 26 deletions

View file

@ -64,7 +64,7 @@ export function Realtime({ websiteId }) {
}
return arr;
}, [])
.reduce((arr, { country }) => {
.reduce((arr: { x: any; y: number }[], { country }: any) => {
if (country) {
const row = arr.find(({ x }) => x === country);