Update random.ts
This commit is contained in:
parent
ec5c463abe
commit
43bd4f1fc4
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue