* Initial classified listings work
* More work on tags
* Additional work finalizing stripe and getting the listings page along
* Finalize-ish listings 🤞
15 lines
337 B
JavaScript
15 lines
337 B
JavaScript
import { h, render } from 'preact';
|
|
import { Listings } from '../listings/listings';
|
|
|
|
function loadElement() {
|
|
const root = document.getElementById('classifieds-index-container');
|
|
if (root) {
|
|
render(<Listings />, root, root.firstElementChild);
|
|
}
|
|
}
|
|
|
|
window.InstantClick.on('change', () => {
|
|
loadElement();
|
|
});
|
|
|
|
loadElement();
|