fixes: on version changed the preview link should also update (#8009)

This commit is contained in:
Arpit 2023-10-24 15:46:04 +05:30 committed by GitHub
parent e78e7399fa
commit 870e9e6f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1596,7 +1596,7 @@ const EditorComponent = (props) => {
setAppPreviewLink(appVersionPreviewLink);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [slug]);
}, [slug, currentVersionId]);
const deviceWindowWidth = 450;