Remove embedding warning

This commit is contained in:
Thomas Weber committed 2021-01-06 10:36:36 -06:00
1 parent 1388d9b4e5
commit 6f0b2b9db6
1 file changed
-6
-6
View File
@@ -21,12 +21,6 @@ import Description from '../components/tw-description/description.jsx';
import styles from './interface.css';
if (window !== window.parent) {
// Show a warning when trying to embed this page. Users shouldn't do that.
// eslint-disable-next-line no-alert
alert('You are embedding TurboWarp incorrectly.\n\nGo here for instructions: https://github.com/TurboWarp/scratch-gui/wiki/Embedding');
}
let announcement = null;
if (process.env.ANNOUNCEMENT) {
announcement = document.createElement('p');