fixes minirepl

This commit is contained in:
Felix Roos 2022-03-23 09:14:09 +01:00
parent 876e8be54e
commit f83aba0d2e
6 changed files with 71 additions and 72 deletions

View file

@ -43,6 +43,8 @@ export const backgroundImage = function (src, animateOptions = {}) {
export const cleanup = () => {
const container = document.getElementById('code');
container.style = '';
container.className = 'grow relative'; // has to match App.tsx
if (container) {
container.style = '';
container.className = 'grow relative'; // has to match App.tsx
}
};