Skip to content

Commit 19fb636

Browse files
committed
feat(ui-components): address other copilot stuff
1 parent 7436a59 commit 19fb636

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

packages/ui-components/Common/ChangeHistory/index.module.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,3 @@
116116
leading-tight
117117
opacity-75;
118118
}
119-
120-
.emptyState {
121-
@apply px-2.5
122-
py-1.5
123-
text-sm
124-
font-medium
125-
text-neutral-800
126-
opacity-75
127-
dark:text-white;
128-
}

packages/ui-components/Common/ChangeHistory/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ const ChangeHistory: FC<ChangeHistoryProps> = ({
2424
<div className={`${styles.changeHistory} ${className}`} {...props}>
2525
{changes.length > 0 ? (
2626
<details className="group">
27-
<summary className={styles.summary} role="button" aria-haspopup="true">
28-
<ClockIcon className={styles.icon} aria-hidden="true" />
27+
<summary className={styles.summary} role="button" aria-haspopup="menu">
28+
<ClockIcon className={styles.icon} />
2929
<span>{label}</span>
30-
<ChevronDownIcon className={styles.chevron} aria-hidden="true" />
30+
<ChevronDownIcon className={styles.chevron} />
3131
</summary>
3232
<div
3333
className={`${styles.dropdownContent} ${
@@ -75,7 +75,7 @@ const ChangeHistory: FC<ChangeHistoryProps> = ({
7575
aria-disabled="true"
7676
>
7777
<ClockIcon className={styles.icon} aria-hidden="true" />
78-
<span>History</span>
78+
<span>{label}</span>
7979
<ChevronDownIcon className={styles.chevron} aria-hidden="true" />
8080
</div>
8181
)}

0 commit comments

Comments
 (0)