-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/protocol-fixes #339
Feat/protocol-fixes #339
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
const router = useRouter(); | ||
|
||
return ( | ||
<Link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical blocks of code found in 2 locations. Consider refactoring.
</Typography> | ||
</CardCell> | ||
<CardCell label={t('credential.status')}> | ||
{!isDateExpired && ( | ||
{credential?.status === 'Valid' && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 4 locations. Consider refactoring.
<Chip | ||
label={t('credential.valid')} | ||
size="small" | ||
variant="outlined" | ||
color="success" | ||
/> | ||
)} | ||
{isDateExpired && ( | ||
{credential?.status === 'Suspended' && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 4 locations. Consider refactoring.
size="small" | ||
variant="outlined" | ||
color="warning" | ||
/> | ||
)} | ||
{/* {credential?.status === 'REVOKED' && ( | ||
{credential?.status === 'Revoked' && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 4 locations. Consider refactoring.
<Chip | ||
label={t('credential.revoked')} | ||
size="small" | ||
variant="outlined" | ||
color="warning" | ||
/> | ||
)} | ||
{credential?.status === 'INVALID' && ( | ||
{credential?.status === 'Invalid' && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 4 locations. Consider refactoring.
Code Climate has analyzed commit 1396bd1 and detected 6 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Protocol Fixes
Type of PR
Description
Lorem Ipsum
Checklist