Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassth committed Oct 24, 2024
1 parent 2fb4571 commit bdfaba4
Showing 1 changed file with 16 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,24 @@ class Comment extends React.Component {
</Button>
) : null}
</Flex>
<Link
target="_blank"
sx={{ mr: [2] }}
href="https://compdemocracy.org/metadata">
{this.props.isMetaCheckbox ? 'metadata' : null}
</Link>
{this.props.isMetaCheckbox ? (
<input
type="checkbox"
label="metadata"
ref={(c) => (this.is_meta = c)}
checked={this.props.comment.is_meta}
onChange={this.onIsMetaClicked.bind(this)}
/>
) : null}
</Flex>
<Link
target="_blank"
sx={{ mr: [2] }}
href="https://compdemocracy.org/metadata">
{this.props.isMetaCheckbox ? 'metadata' : null}
</Link>
{this.props.isMetaCheckbox ? (
<input
type="checkbox"
label="metadata"
ref={(c) => (this.is_meta = c)}
checked={this.props.comment.is_meta}
onChange={this.onIsMetaClicked.bind(this)}
/>
) : null}
</Flex>
</Box>
</Card>
</Card >
)
}
}
Expand Down

0 comments on commit bdfaba4

Please sign in to comment.