Skip to content

Commit

Permalink
Add project check before slug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbouslog committed Nov 5, 2018
1 parent 339c0c4 commit 106bb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SubjectCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function SubjectCard({ subject }) {
<Box alignSelf="center" className="subject-card" margin="small">
<a
href={`${config.zooniverse}/projects/${
projectContext.project.slug
projectContext.project ? projectContext.project.slug : ''
}/talk${subjectId}`}
rel="noopener noreferrer"
target="_blank"
Expand Down

0 comments on commit 106bb97

Please sign in to comment.