diff --git a/src/js/main/random.ts b/src/js/main/random.ts index fe940ed8e..1f2c587f8 100644 --- a/src/js/main/random.ts +++ b/src/js/main/random.ts @@ -1,6 +1,5 @@ -const nameById = require("@json/slugs.json"); - (function () { + const nameById = require("@json/slugs.json"); const surahId: number = Math.ceil(Math.random() * 114); const name = nameById[surahId]; const locale = location.pathname.slice(1, 3);