Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Mike Cao 2023-04-03 20:22:53 -07:00
commit c30aa4c0b6
3 changed files with 6 additions and 2 deletions

View File

@ -152,6 +152,10 @@ export const messages = defineMessages({
defaultMessage: defaultMessage:
'To track stats for this website, place the following code in the <head>...</head> section of your HTML.', 'To track stats for this website, place the following code in the <head>...</head> section of your HTML.',
}, },
joinTeamWarning: {
id: 'message.team-already-member',
defaultMessage: 'You are already a member of the team.',
},
deleteWebsite: { deleteWebsite: {
id: 'message.delete-website', id: 'message.delete-website',
defaultMessage: 'To delete this website, type {confirmation} in the box below to confirm.', defaultMessage: 'To delete this website, type {confirmation} in the box below to confirm.',

View File

@ -64,7 +64,7 @@ export default function WebsiteChart({
}; };
} }
return { pageviews: [], sessions: [] }; return { pageviews: [], sessions: [] };
}, [data, startDate, endDate, unit]); }, [data, modified]);
return ( return (
<> <>

View File

@ -173,7 +173,7 @@
} }
let currentUrl = `${pathname}${search}`; let currentUrl = `${pathname}${search}`;
let currentRef = getPath(document.referrer); let currentRef = document.referrer;
let title = document.title; let title = document.title;
let cache; let cache;
let initialized; let initialized;