From d4b62bff6ed1266f99c9213a633d6959969f54c2 Mon Sep 17 00:00:00 2001 From: dev-737 <73829355+dev-737@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:22:15 +0530 Subject: [PATCH] refactor: remove redundant literal in a logical expressions (#56) --- src/managers/NetworkManager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/managers/NetworkManager.ts b/src/managers/NetworkManager.ts index ddf55f34..1343384b 100644 --- a/src/managers/NetworkManager.ts +++ b/src/managers/NetworkManager.ts @@ -508,7 +508,7 @@ export default class NetworkManager { ? [ { name: 'Replying To:', - value: `> ${formattedReply}` ?? 'Unknown.', + value: `> ${formattedReply}`, }, ] : [], @@ -532,7 +532,7 @@ export default class NetworkManager { ? [ { name: 'Replying To:', - value: `> ${censor(formattedReply)}` ?? 'Unknown.', + value: `> ${censor(formattedReply)}`, }, ] : [],