simplify things

This commit is contained in:
Víctor Losada Hernández
2026-10-10 00:06:04 +02:00
parent 9af8236cdb
commit fc36ab13bb
2 changed files with 2 additions and 30 deletions
+2 -7
View File
@@ -51,7 +51,7 @@ const Navbar = ({ children, brew, editor, title = '', props }) => {
</Nav.item>
);
};
const renderFile = () => {
return (
<Dropdown groupName={'File'} customTrigger={<>File</>} icon={null} key={'file'}>
@@ -79,7 +79,7 @@ const Navbar = ({ children, brew, editor, title = '', props }) => {
</Dropdown>
);
};
const renderEdit = () => {
return (
<Dropdown groupName={'Edit'} customTrigger={<>Edit</>} icon={null} key={'edit'}>
@@ -162,9 +162,4 @@ const Navbar = ({ children, brew, editor, title = '', props }) => {
);
};
Navbar.File = () => null;
Navbar.Edit = () => null;
Navbar.Go = () => null;
export default Navbar;