fix: set search params in page
This commit is contained in:
@@ -5,8 +5,10 @@ import { useEffect } from "react";
|
||||
|
||||
export default function InitLivePreview() {
|
||||
useEffect(() => {
|
||||
console.log("INIT");
|
||||
ContentstackLivePreview.init();
|
||||
if (!ContentstackLivePreview.livePreview) {
|
||||
console.log("INIT");
|
||||
ContentstackLivePreview.init();
|
||||
}
|
||||
}, []);
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user