git ssb

2+

mixmix / ticktack



Tree: 3d4eca03f309655578710ab4453f309c514268d1

Files: 3d4eca03f309655578710ab4453f309c514268d1 / app / page / groupShow.js

582 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3
4exports.gives = nest('app.page.groupShow')
5
6exports.needs = nest({
7 'translations.sync.strings': 'first'
8})
9
10exports.create = (api) => {
11 var strings = api.translations.sync.strings()
12 return nest('app.page.groupShow', groupShow)
13
14 function groupShow (location) {
15 // location here can be the root message of a group : { type: 'group', key }
16 // TODO show specific group index described by key
17
18 return h('Page -groupShow', {title: strings.groupShow}, [
19 h('p', `key: ${location.key}`)
20 ])
21 }
22}
23

Built with git-ssb-web