feat: disable collab feature when running in iframe (#6646)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@ -748,6 +748,8 @@ export const getFrame = () => {
|
||||
}
|
||||
};
|
||||
|
||||
export const isRunningInIframe = () => getFrame() === "iframe";
|
||||
|
||||
export const isPromiseLike = (
|
||||
value: any,
|
||||
): value is Promise<ResolutionType<typeof value>> => {
|
||||
|
Reference in New Issue
Block a user