Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)}
/>
)}
)
}
}
export default withDatabase(Root)
{project.manifest.avatar && <img height="{40}/" width="{40}" src="{project.manifest.avatar}" alt="avatar">}
<button color="primary" size="small">
Read more
</button>
)
}
const ProjectCard = withDatabase(withObservables(['project'], ({ database, project }) => ({
pledges: database.collections.get('pledges').query(
Q.where('intended_project', project.projectId)
).observe()
}))(RawProjectCard))
function GridView({classes, projects, favorites, setFavorites}) {
return (
{projects.map((project, index) => {
if (!project.manifest) {
return ''
}
return (
);
})}