Skip to content

Commit

Permalink
Hotfix/player page/draft/0 (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash authored May 1, 2024
1 parent cadd4e7 commit 506b604
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"dependencies": {
"@betarena/ad-engine": "0.0.47",
"@betarena/scores-lib": "3.1.7",
"@betarena/scores-lib": "3.1.8",
"@lukeed/uuid": "2.0.1",
"@metamask/sdk": "0.1.0",
"@moralisweb3/client-firebase-auth-utils": "2.18.4",
Expand Down
10 changes: 5 additions & 5 deletions src/lib/sveltekit/load/load.player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@

// #region ➤ 📦 Package Imports

import { LoadEvent } from '@sveltejs/kit';

import { ERROR_CODE_INVALID, PRELOAD_ERROR_MSG_PLAYER, dlog, dlogv2 } from '$lib/utils/debug';
import { preloadExitLogic, promiseUrlsPreload, promiseValidUrlCheck } from '$lib/utils/navigation.js';
import { tryCatch } from '$lib/utils/miscellenous.js';
import { preloadExitLogic, promiseUrlsPreload, promiseValidUrlCheck } from '$lib/utils/navigation.js';

import type { Main_Data, Opengraph_Data, Twitter_Data } from '@betarena/scores-lib/types/_HASURA_.js';
import type { B_PSEO_D, B_PSEO_T } from '@betarena/scores-lib/types/player-seo.js';
import type { B_PSTAT_T } from '@betarena/scores-lib/types/player-statistics.js';
import type { B_PTEAM_D, B_PTEAM_T } from '@betarena/scores-lib/types/player-team.js';
import type { B_SAP_D1, B_SAP_D2, B_SAP_PP_D, B_SAP_PP_T } from '@betarena/scores-lib/types/seo-pages';
import type { B_PFIX_D, B_PFIX_T } from 'node_modules/@betarena/scores-lib/types/player-fixtures';
import type { B_PPRO_T } from 'node_modules/@betarena/scores-lib/types/player-profile';
import type { ServerLoadEvent } from '@sveltejs/kit';
import type { B_PFIX_D, B_PFIX_T } from '@betarena/scores-lib/types/player-fixtures';
import type { B_PPRO_T } from '@betarena/scores-lib/types/player-profile';

// #endregion ➤ 📦 Package Imports

Expand Down Expand Up @@ -92,7 +92,7 @@ type IPreloadData2 =
*/
export async function main
(
event: LoadEvent,
event: ServerLoadEvent,
parentData:
{
langParam: string
Expand Down

0 comments on commit 506b604

Please sign in to comment.