mirror of
https://github.com/status-im/status-web.git
synced 2025-01-12 13:44:39 +00:00
trim whitespace of encoded emoji (#559)
* trim whitespace of encoded emoji * Create eighty-crabs-accept.md
This commit is contained in:
parent
88030482df
commit
ef5c31fff7
5
.changeset/eighty-crabs-accept.md
Normal file
5
.changeset/eighty-crabs-accept.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@status-im/js": patch
|
||||
---
|
||||
|
||||
trim whitespace of encoded emoji
|
@ -36,7 +36,7 @@ export function decodeCommunityURLData(data: string) {
|
||||
const channelSchema = z.object({
|
||||
displayName: z.string().max(24).nonempty(),
|
||||
description: z.string().max(140).nonempty(),
|
||||
emoji: z.string().emoji().optional(),
|
||||
emoji: z.string().trim().emoji().optional(),
|
||||
color: colorSchema,
|
||||
community: z.object({
|
||||
displayName: communityDisplayName,
|
||||
|
Loading…
x
Reference in New Issue
Block a user