mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-27 09:40:45 +00:00
converted date to unix
This commit is contained in:
@ -16,7 +16,7 @@ export const IntercomProvider = ({ children }: { children: any }) => {
|
||||
|
||||
if (typeof window !== "undefined") {
|
||||
loadIntercom();
|
||||
bootIntercom({name: `${user?.firstName || ""} ${user?.lastName || ""}`, email: user?.email || "", created_at: user?.createdAt});
|
||||
bootIntercom({name: `${user?.firstName || ""} ${user?.lastName || ""}`, email: user?.email || "", created_at: Math.floor((user?.createdAt.getTime() || 0) / 1000)});
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
Reference in New Issue
Block a user