Enforce userName and title can only containing aphlanumeric and dashes
Enforce data integrity basically, important since they're used for urls I could do url encoding, but the idea is the the url looks good so its helping keep the feel of the website
This commit is contained in:
@@ -64,7 +64,7 @@ const EmojiReaction = ({ emotes, userEmotes, onEmote = () => {}, className }) =>
|
||||
<span
|
||||
className={getActiveClasses(
|
||||
"rounded-full tracking-wide hover:bg-indigo-100 p-1 mx-px transform hover:-translate-y-px transition-all duration-150 border-indigo-400",
|
||||
{'border': currentUser && userEmotes.includes(emote.emoji)}
|
||||
{'border': currentUser && userEmotes?.includes(emote.emoji)}
|
||||
)}
|
||||
style={textShadow}
|
||||
key={`${emote.emoji}--${i}`}
|
||||
|
||||
Reference in New Issue
Block a user