fix: temporary fix

This commit is contained in:
Xmader 2020-11-20 09:30:06 -05:00
parent 63892a495a
commit 3aaf8cbd73
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 2 additions and 2 deletions

View File

@ -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) => {