Skip to content

Commit c889b12

Browse files
authored
refactor: change chevron type for closed sections (#1537)
Signed-off-by: Adam Setch <[email protected]>
1 parent eb134de commit c889b12

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/components/AccountNotifications.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
ChevronDownIcon,
33
ChevronLeftIcon,
4-
ChevronUpIcon,
4+
ChevronRightIcon,
55
FeedPersonIcon,
66
GitPullRequestIcon,
77
IssueOpenedIcon,
@@ -68,7 +68,7 @@ export const AccountNotifications: FC<IAccountNotifications> = (
6868
? ChevronLeftIcon
6969
: showAccountNotifications
7070
? ChevronDownIcon
71-
: ChevronUpIcon;
71+
: ChevronRightIcon;
7272

7373
const toggleAccountNotificationsLabel =
7474
notifications.length === 0

src/components/RepositoryNotifications.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
CheckIcon,
33
ChevronDownIcon,
4-
ChevronUpIcon,
4+
ChevronRightIcon,
55
MarkGithubIcon,
66
ReadIcon,
77
} from '@primer/octicons-react';
@@ -41,7 +41,7 @@ export const RepositoryNotifications: FC<IRepositoryNotifications> = ({
4141

4242
const ChevronIcon = showRepositoryNotifications
4343
? ChevronDownIcon
44-
: ChevronUpIcon;
44+
: ChevronRightIcon;
4545

4646
const toggleRepositoryNotificationsLabel = showRepositoryNotifications
4747
? 'Hide repository notifications'

src/components/__snapshots__/AccountNotifications.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/__snapshots__/RepositoryNotifications.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)