Add topic publishing sidebar

This commit is contained in:
Thomas Nordquist
2019-01-11 00:40:05 +01:00
parent eb375073f9
commit c3ef9335c0
13 changed files with 292 additions and 15 deletions

9
app/src/actions/Tree.ts Normal file
View File

@@ -0,0 +1,9 @@
import { ActionTypes } from '../reducers'
import * as q from '../../../backend/src/Model'
export const selectTopic = (topic: q.TreeNode) => {
return {
selectedTopic: topic,
type: ActionTypes.selectTopic,
}
}