use addEvent instead of window.plausible
This commit is contained in:
parent
af8fb1b9bb
commit
adbc459347
@ -216,14 +216,14 @@ function App() {
|
||||
toast.error(
|
||||
"No current version set. Contact support or open a Github issue."
|
||||
);
|
||||
window.plausible("CurrentVersionNull");
|
||||
addEvent("CurrentVersionNull");
|
||||
return;
|
||||
}
|
||||
|
||||
let historyTree;
|
||||
try {
|
||||
historyTree = extractHistoryTree(appHistory, currentVersion);
|
||||
window.plausible("HistoryTreeFailed");
|
||||
addEvent("HistoryTreeFailed");
|
||||
} catch {
|
||||
toast.error(
|
||||
"Version history is invalid. This shouldn't happen. Please contact support or open a Github issue."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user