Skip to content
Snippets Groups Projects
Commit afe5031a authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: selector typo

parent d3f98db1
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ export const viewerStateSelectedTemplatePureSelector = createSelector(
viewerStateFetchedTemplatesSelector,
viewerStateSelectedTemplateSelector,
(fetchedTemplates, selectedTemplate) => {
return fetchedTemplates.find(t => t['@id'] === selectedTemplate('@id'))
return fetchedTemplates.find(t => t['@id'] === selectedTemplate['@id'])
}
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment