Add topic publishing sidebar
This commit is contained in:
9
app/src/actions/Tree.ts
Normal file
9
app/src/actions/Tree.ts
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user