Skip to content

Commit ea0bad7

Browse files
committed
fix(readme): alert message
1 parent ccc11fc commit ea0bad7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/features/repo-details/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ const RepoDetails = ({ repo: identity }: Props) => {
3333
const collaborators = repository?.collaborators?.nodes?.filter(
3434
(collaborator): collaborator is Collaborator => !!collaborator,
3535
);
36-
const alertDescription =
37-
"For a while, you can't navigate through file" +
38-
" tree of repo - only view the main README";
36+
3937
return (
4038
<div className="flex flex-col">
4139
<DetailsCard className="common-details" title={identity.name}>
@@ -86,7 +84,7 @@ const RepoDetails = ({ repo: identity }: Props) => {
8684
style={{ borderRadius: 6, marginTop: 10 }}
8785
showIcon
8886
message="Files access"
89-
description={alertDescription}
87+
description="For a while, you can navigate through file tree only after auto-redirecting to github"
9088
/>
9189
</Spin>
9290
</div>

0 commit comments

Comments
 (0)