1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tldraw_ynh.git synced 2024-09-03 20:35:54 +02:00
tldraw_ynh/sources/patches/app-01-iframe.patch
2022-09-29 20:36:34 +07:00

15 lines
436 B
Diff

diff --git a/apps/www/pages/r/[id].tsx b/apps/www/pages/r/[id].tsx
index 7f582cfa..9d9f9bed 100644
--- a/apps/www/pages/r/[id].tsx
+++ b/apps/www/pages/r/[id].tsx
@@ -16,10 +16,6 @@ interface RoomProps {
}
export default function Room({ id }: RoomProps) {
- if (typeof window !== 'undefined' && window.self !== window.top) {
- return <IFrameWarning url={`https://tldraw.com/r/${id}`} />
- }
-
return (
<>
<Head>