Skip to content

Commit b62c43c

Browse files
authored
fix: add missing title attribute (#366)
* fix: add missing title attribute * chore: change rerender outline toggle text
1 parent 18253d0 commit b62c43c

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

packages/scan/src/web/views/notifications/notification-header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const NotificationHeader = ({
5959
view: 'none',
6060
};
6161
}}
62+
title="Close"
6263
>
6364
<CloseIcon size={18} className="text-[#6F6F78]" />
6465
</button>

packages/scan/src/web/views/notifications/slowdown-history.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ export const SlowdownHistory = () => {
372372
triggerContent={
373373
<button
374374
className={cn(['hover:bg-[#18181B] rounded-full p-2'])}
375+
title="Clear all events"
375376
onClick={() => {
376377
toolbarEventStore.getState().actions.clear();
377378
setNotificationState((prev) => ({

packages/scan/src/web/views/toolbar/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export const Toolbar = constant(() => {
151151
<button
152152
type="button"
153153
id="react-scan-notifications"
154+
title="Notifications"
154155
onClick={() => {
155156
if (Store.inspectState.value.kind !== 'inspect-off') {
156157
Store.inspectState.value = {
@@ -207,6 +208,7 @@ export const Toolbar = constant(() => {
207208
checked={!ReactScanInternals.instrumentation?.isPaused.value}
208209
onChange={onToggleActive}
209210
className="place-self-center"
211+
title="Outline Re-renders"
210212
/>
211213

212214
{/* todo add back showFPS*/}

0 commit comments

Comments
 (0)