fixes minirepl
This commit is contained in:
parent
876e8be54e
commit
f83aba0d2e
6 changed files with 71 additions and 72 deletions
|
|
@ -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
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue