Skip to content

Commit 7f68454

Browse files
committed
fix: Second attempt to fix import
1 parent 500587e commit 7f68454

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/client/components/common/StatusTabs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import { Tabs, Tab, Badge, Tooltip } from '@mui/material'
33
import { Link } from 'react-router-dom'
44

5-
import { focusIndicatorStyle } from '../../util/accessibility.js'
5+
import { focusIndicatorStyle } from '../../util/accessibility'
66

77
export const StatusTab = ({ status, count, countLabel, badgeColor, label, ...props }) => {
88
const labelElement = count ? (

src/client/util/accessibility.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export const focusIndicatorStyle = {
2+
'&.Mui-focusVisible': {
3+
outline: '3px solid',
4+
outlineColor: theme => theme.palette.primary.main,
5+
outlineOffset: '3px',
6+
},
7+
}

0 commit comments

Comments
 (0)