Skip to content
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

Merged
merged 10 commits into from
Feb 9, 2023
Merged

Feat/protocol-fixes #339

merged 10 commits into from
Feb 9, 2023

Conversation

NMCarv
Copy link
Member

@NMCarv NMCarv commented Feb 9, 2023

Protocol Fixes

Type of PR

  • [] - feature
  • [] - bugfix
  • [] - chore
  • [] - docs

Description

Lorem Ipsum

Checklist

  • [] - Provided useful description for this PR
  • [] - Provided the root cause of this bugfix
  • [] - Tested on supported devices

@vercel
Copy link

vercel bot commented Feb 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
gateway-website ❌ Failed (Inspect) Feb 9, 2023 at 5:52PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
ui-storybook ⬜️ Ignored (Inspect) Feb 9, 2023 at 5:52PM (UTC)

const router = useRouter();

return (
<Link
Copy link

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' && (
Copy link

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' && (
Copy link

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' && (
Copy link

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' && (
Copy link

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.

@codeclimate
Copy link

codeclimate bot commented Feb 9, 2023

Code Climate has analyzed commit 1396bd1 and detected 6 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 6

View more on Code Climate.

@NMCarv NMCarv merged commit 1c0cd10 into develop Feb 9, 2023
@NMCarv NMCarv deleted the feat/protocol-fixes branch February 9, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants