Fix: Position of the "Add" button (#6110)
Fixes https://github.com/calcom/cal.com/issues/6104
This commit is contained in:
1 parent
795574ef88
commit
533e208643
2 files changed
+20
-15
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user