pages/search: render results

This commit is contained in:
He4eT 2024-01-20 21:36:46 +01:00
commit ae2259b2ba
3 changed files with 52 additions and 16 deletions

View file

@ -1,8 +1,7 @@
import * as Store from './modules/store.js'
import * as dom from './modules/dom.js'
const store = Store.init({
tabs: browser.tabs,
onStateUpdate: console.log,
onStateUpdate: dom.updateSearchResults,
})
console.log(store.getCurrentState())