Skip to content

Commit

Permalink
🍄
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshix-1 committed Jan 31, 2025
1 parent 15ff65a commit 6ecf12b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions an_website/static/js/utils/dynload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions an_website/utils/dynload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,10 @@ async function dynLoadSwitchToURL(url: string, allowSameUrl = false) {
contentContainer.prepend(
"Laden... Wenn dies zu lange (ĂĽber ein paar Sekunden) dauert, lade bitte die Seite neu.",
);
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
await get(
url,
"",
(data) => dynLoadOnData(data, false),
(data: DynloadData) => dynLoadOnData(data, false),
(error: unknown) => {
console.log(error);
if (url === location.href) {
Expand Down

0 comments on commit 6ecf12b

Please sign in to comment.