Skip to content

Commit

Permalink
npm run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
himdel committed Aug 7, 2023
1 parent 06a3746 commit 9ad9c51
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/numeric-label/numeric-label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const label = (count, type) =>
one: 'Dependency',
other: 'Dependencies',
}),
}[type] || type);
})[type] || type;

export const CollectionNumericLabel = ({ count, newline, type }: ICNLProps) => (
<NumericLabel number={count} newline={newline} label={label(count, type)} />
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ansible-remote/detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const AnsibleRemoteDetail = PageWithTabs<AnsibleRemoteType>({
({
details: <DetailsTab item={item} actionContext={actionContext} />,
access: <RemoteAccessTab item={item} actionContext={actionContext} />,
}[tab]),
})[tab],
tabs,
tabUpdateParams: (p) => {
delete p.group;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ansible-repository/detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const AnsibleRepositoryDetail = PageWithTabs<AnsibleRepositoryType>({
'repository-versions': (
<RepositoryVersionsTab item={item} actionContext={actionContext} />
),
}[tab]),
})[tab],
tabs,
tabUpdateParams: (p) => {
delete p.repositoryVersion;
Expand Down
2 changes: 1 addition & 1 deletion src/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ export const namespaceBreadcrumb = () =>
({
namespaces: { name: t`Namespaces`, url: formatPath(Paths.namespaces) },
partners: { name: t`Partners`, url: formatPath(Paths.partners) },
}[NAMESPACE_TERM]);
})[NAMESPACE_TERM];

0 comments on commit 9ad9c51

Please sign in to comment.