Skip to content

Commit fbc1510

Browse files
style: format code with Prettier and StandardJS
This commit fixes the style issues introduced in 796a3a0 according to the output from Prettier and StandardJS. Details: None
1 parent 796a3a0 commit fbc1510

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/layout/proSecNav/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ const ProSecNav = ({ mode = 'inline', theme = 'light', onMenuClick }) => {
295295

296296
return (
297297
<button
298-
type="button"
298+
type='button'
299299
onMouseEnter={onPreload}
300300
onFocus={onPreload}
301301
onClick={onPreload}
@@ -323,7 +323,7 @@ const ProSecNav = ({ mode = 'inline', theme = 'light', onMenuClick }) => {
323323
const base = {
324324
...rest,
325325
path,
326-
label: Label,
326+
label: Label
327327
}
328328
if (children && Array.isArray(children)) {
329329
// 过滤掉空值的子项
@@ -411,7 +411,7 @@ const ProSecNav = ({ mode = 'inline', theme = 'light', onMenuClick }) => {
411411
ProSecNav.propTypes = {
412412
mode: PropTypes.string,
413413
theme: PropTypes.string,
414-
onMenuClick: PropTypes.func,
414+
onMenuClick: PropTypes.func
415415
}
416416

417417
export default ProSecNav

0 commit comments

Comments
 (0)