mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-21 01:26:35 +00:00

* Fix eslint import extension * Update eslint hound * Enable no unresolved for normal usage
11 lines
299 B
JavaScript
11 lines
299 B
JavaScript
import { h, render } from 'preact';
|
|
import Automation from './automation.js';
|
|
|
|
window.AutomationEditor = function (mountEl, props, mergeEl) {
|
|
return render(h(Automation, props), mountEl, mergeEl);
|
|
};
|
|
|
|
window.unmountPreact = function (mountEl, mergeEl) {
|
|
render(() => null, mountEl, mergeEl);
|
|
};
|