attachment&gallery: code: use === instead of ==

This commit is contained in:
Yonle 2026-03-03 12:51:27 +07:00
commit f40fdf1240
No known key found for this signature in database
GPG key ID: 11889F326F523287
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ const Gallery = {
: attachments
.reduce(
(acc, attachment, i) => {
if (attachment.type == 'audio') {
if (attachment.type === 'audio') {
return [
...acc,
{ audio: true, items: [attachment] },