style: auto-fix lint and format
This commit is contained in:
1 parent
f2d6563273
commit
736c369164
1 file changed
+1
-1
@@ -12,7 +12,7 @@ export const hashObjectBase64 = (obj: object) => {
|
|||||||
const json = JSON.stringify([obj], (_, val) =>
|
const json = JSON.stringify([obj], (_, val) =>
|
||||||
typeof val === "object" && val !== null && !Array.isArray(val)
|
typeof val === "object" && val !== null && !Array.isArray(val)
|
||||||
? Object.keys(val)
|
? Object.keys(val)
|
||||||
.sort()
|
.toSorted()
|
||||||
.reduce(
|
.reduce(
|
||||||
(acc, key) => {
|
(acc, key) => {
|
||||||
acc[key] = (val as Record<string, unknown>)[key];
|
acc[key] = (val as Record<string, unknown>)[key];
|
||||||
|
|||||||
Reference in new issue
Block a user