mirror of
https://github.com/apache/superset.git
synced 2026-04-27 03:55:47 +00:00
Re-enable rule no-else-return (#10861)
This commit is contained in:
committed by
GitHub
parent
76275ec410
commit
2d8f4e3aaf
@@ -199,7 +199,8 @@ export function Menu({
|
||||
className="settings-divider"
|
||||
/>
|
||||
);
|
||||
} else if (section.isHeader) {
|
||||
}
|
||||
if (section.isHeader) {
|
||||
return (
|
||||
<MenuItem key={`${section.label}`} disabled>
|
||||
{section.label}
|
||||
|
||||
Reference in New Issue
Block a user