docbrown/app/javascript/packs/Search.jsx
Ben Halpern dd20e70f12
Simplify article show page reactions (#2827)
* Simplify article show page reactions

* Clean up styling and adjust zen mode logic

* Remove unused variables

* Update app/views/articles/_actions.html.erb

Co-Authored-By: Nick Taylor <nick@iamdeveloper.com>

* Small style mods

* Slight padding change

* Finalize new show page button design
2019-05-15 10:32:36 -04:00

9 lines
286 B
JavaScript

import { h, render } from 'preact';
import { Search } from '../src/components/Search';
import 'focus-visible'
document.addEventListener('DOMContentLoaded', () => {
const root = document.getElementById('nav-search-form-root');
render(<Search />, root, root.firstElementChild);
});