fix: temporary fix
This commit is contained in:
parent
63892a495a
commit
3aaf8cbd73
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
/* eslint-disable no-extend-native */
|
||||
|
||||
import scoreinfo from './scoreinfo'
|
||||
import { onPackLoad, loadAllPacks, getObfuscationCtx, OBFUSCATED_REG } from './webpack-hook'
|
||||
import { onPackLoad, getObfuscationCtx, OBFUSCATED_REG } from './webpack-hook'
|
||||
|
||||
type FileType = 'img' | 'mp3' | 'midi'
|
||||
|
||||
|
@ -19,7 +19,7 @@ enum PACK_HINT {
|
|||
*/
|
||||
const magicHookConstr = async (type: FileType) => {
|
||||
// request pack
|
||||
await loadAllPacks()
|
||||
// await loadAllPacks()
|
||||
|
||||
return new Promise<string>((resolve) => {
|
||||
onPackLoad((pack) => {
|
||||
|
|
Loading…
Reference in a new issue