fix: sse, refactor(ui): tabs, feat: help button

This commit is contained in:
liyasthomas
2021-08-05 11:06:37 +05:30
parent b2baeb0a5d
commit 20ffbe906f
10 changed files with 159 additions and 43 deletions

View File

@@ -3,9 +3,9 @@ export function getSourcePrefix(source) {
// Source used for info messages.
info: "\t [INFO]:\t",
// Source used for client to server messages.
client: "\t👽 [SENT]:\t",
client: "\t⬅️ [SENT]:\t",
// Source used for server to client messages.
server: "\t📥 [RECEIVED]:\t",
server: "\t➡️ [RECEIVED]:\t",
}
if (Object.keys(sourceEmojis).includes(source)) return sourceEmojis[source]
return ""