mirror of
https://github.com/chinchang/web-maker.git
synced 2025-08-03 11:57:34 +02:00
get preact files into root
This commit is contained in:
12
src/components/Alerts.jsx
Normal file
12
src/components/Alerts.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { h, Component } from 'preact';
|
||||
import { log } from '../utils';
|
||||
|
||||
export class Alerts extends Component {
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
return false;
|
||||
}
|
||||
|
||||
render() {
|
||||
return <div class="alerts-container" id="js-alerts-container" />;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user