Skip to content

Commit

Permalink
Resolved lints
Browse files Browse the repository at this point in the history
  • Loading branch information
naheyansheikh committed Dec 5, 2024
1 parent 6aa6859 commit 531e6da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/ContentHeader/ContentHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function ContentHeader({ header, primaryButtonText, actions }) {
<h2>{header}</h2>
<div className="button-group">
<AddButton text={primaryButtonText} onClick={() => {}} />
<ActionsButton actions={actions} onClick={() => {}} />
<ActionsButton actions={actions} />
</div>
</div>
);
Expand All @@ -23,7 +23,7 @@ function AddButton({ text, onClick = () => {} }) {
);
}

function ActionsButton({ actions, onClick = () => {} }) {
function ActionsButton({ actions }) {
const [isOpen, setIsOpen] = useState(false);
const dropdownRef = useRef(null);

Expand Down

0 comments on commit 531e6da

Please sign in to comment.