Skip to content
Snippets Groups Projects
Commit e9a04e71 authored by lfr20's avatar lfr20
Browse files

Passed the tags properly to resource card function

parent 7643d2cb
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa
......@@ -37,6 +37,8 @@ function Alert(props) {
export default function ResourceList(props) {
console.log(props);
const [selected, setSelected] = useState(Array.apply(
null, {length: props.resources.length}).map(i => false));
const [selectable, setSelectable] = useState(false);
......@@ -129,6 +131,7 @@ export default function ResourceList(props) {
likeCount={r.likeCount}
liked={r.liked}
thumbnail={r.thumbnail}
href={"/recurso/" + r.id}
/>
{selectable ?
(<SelectButton
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment