feat: ✨ Add first name for support bubble
This commit is contained in:
@ -32,7 +32,7 @@ export const SupportBubble = () => {
|
||||
},
|
||||
hiddenVariables: {
|
||||
'User ID': user?.id,
|
||||
Name: user?.name ?? undefined,
|
||||
'First name': user?.name?.split(' ')[0] ?? undefined,
|
||||
Email: user?.email ?? undefined,
|
||||
'Typebot ID': typebot?.id,
|
||||
'Avatar URL': user?.image ?? undefined,
|
||||
|
@ -167,6 +167,10 @@ export const TypebotContext = ({
|
||||
new Date(typebot.updatedAt) >
|
||||
new Date(currentTypebotRef.current.updatedAt)
|
||||
) {
|
||||
console.log(
|
||||
new Date(typebot.updatedAt),
|
||||
new Date(currentTypebotRef.current.updatedAt)
|
||||
)
|
||||
setLocalTypebot({ ...typebot })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user