From 23c6c9ebb3a0a7e756d8d69137ed657f478ac4d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Ciccola?= Date: Thu, 3 Aug 2023 12:00:54 -0300 Subject: [PATCH] chore: remove unnecessary undefined check --- src/lib/decode-conversions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/decode-conversions.ts b/src/lib/decode-conversions.ts index 94134da9..f984ec98 100644 --- a/src/lib/decode-conversions.ts +++ b/src/lib/decode-conversions.ts @@ -37,7 +37,7 @@ export const convertProject: ConvertFunction<'project'> = ( vertex: message.defaultPresets?.vertex.map(v => v.toString('hex')), line: message.defaultPresets?.line.map(l => l.toString('hex')), relation: message.defaultPresets?.relation.map(r => r.toString('hex')), - } || {} + } } }