Fix: Position of the "Add" button (#6110)

Fixes https://github.com/calcom/cal.com/issues/6104
This commit is contained in:
Nafees Nazik authored and GitHub committed 2022-12-19 12:53:46 -05:00
1 parent 795574ef88
commit 533e208643
2 files changed
+20 -15

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ export default function Meta({ title, description, backButton, CTA }: MetaType)
/* @TODO: maybe find a way to have this data on first render to prevent flicker */
useEffect(() => {
if (meta.title !== title || meta.description !== description) {
if (meta.title !== title || meta.description !== description || meta.CTA !== CTA) {
setMeta({ title, description, backButton, CTA });
}
// eslint-disable-next-line react-hooks/exhaustive-deps