Skip to content

Commit 6db69ee

Browse files
committed
fix: lint
1 parent 085d293 commit 6db69ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/apps/review/src/pages/scorecards/ViewScorecardPage/ViewScorecardPage.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ const ViewScorecardPage: FC = () => {
2020
const { profile }: ProfileContextData = useContext(profileContext)
2121
const isAdmin = profile?.roles.includes(UserRole.administrator)
2222
const breadCrumb = useMemo(
23-
() => (profile && isAdmin) ? [{ index: 1, label: 'Scorecards', path: '/scorecard' }, { index: 2, label: 'Scorecards Details' }] : [],
23+
() => ((profile && isAdmin)
24+
? [{ index: 1, label: 'Scorecards', path: '/scorecard' }, { index: 2, label: 'Scorecards Details' }]
25+
: []
26+
),
2427
[profile, isAdmin],
2528
)
2629

0 commit comments

Comments
 (0)