Skip to content

Commit b490fef

Browse files
committed
fix: remove the redundant promise
1 parent f667220 commit b490fef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

admin/src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ export default {
6161
const importedTrads = await Promise.all(
6262
locales.map(async (locale) => {
6363
try {
64-
await Promise.resolve();
65-
6664
// eslint-disable-next-line import/no-dynamic-require
6765
const data = require(`./translations/${locale}.json`);
6866
return {

0 commit comments

Comments
 (0)