if (!module.parent) {
http.createServer(accept).listen(8080, () => {
console.log('Server started on port 8080');
});
} else {
exports.accept = accept;
} className={"draggable " + cls({ [s.ItemCell]: true, [s.ItemCell_exist]: img && index !== selected, [s.ItemCell_selected]: index === selected, [s.ItemCell_element]: dragging })}
const [favorite, setFavorite] = useState([]);
setFavorite(prev => [index,...prev]) <div class="container">
<app-side-bar></app-side-bar>
<div class="box">
<app-header></app-header>
<router-outlet></router-outlet>
<app-push-notification></app-push-notification>
<app-call-notification></app-call-notification>
</div>
</div>