Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Revert ToolbarButton
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Aug 29, 2020
1 parent 8725d83 commit e295542
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/editor/ui/ToolbarButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ import { Button } from 'semantic-ui-react';

const ToolbarButton = React.forwardRef(
({ className, active, reversed, icon, style, ...props }, ref) => {
const newProps = { ...props };
delete newProps.keepHoveringToolbarOpen;
delete newProps.setKeepHoveringToolbarOpen;

return (
<div className="button-wrapper">
<Button
as="a"
{...newProps}
{...props}
ref={ref}
style={style}
className={cx(className)}
Expand Down

0 comments on commit e295542

Please sign in to comment.