Skip to content
Snippets Groups Projects
Commit 2a7ba379 authored by syuilo's avatar syuilo
Browse files

[ci skip] improve readability

parent 3f57119a
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ export class CustomEmojiService {
if (!Array.isArray(JSON.parse(value))) return undefined; // 古いバージョンの壊れたキャッシュが残っていることがある(そのうち消す)
return new Map(JSON.parse(value).map((x: Serialized<Emoji>) => [x.name, {
...x,
updatedAt: x.updatedAt && new Date(x.updatedAt),
updatedAt: x.updatedAt ? new Date(x.updatedAt) : null,
}]));
},
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment