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