Skip to content

Commit

Permalink
fix(llm): add default value to actionButtons
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Feb 22, 2024
1 parent 8c34523 commit 653dbf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/Misc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ const AllAdminButtons = ({ buttonOptions, buttonIDs, adminClasses }) => {
</span>
);
};
const CategoryHeader = ({children, type, data = [], toggleButtonIDs = ["subcategory", "edit"], actionButtons}) => {
const CategoryHeader = ({children, type, data = [], toggleButtonIDs = ["subcategory", "edit"], actionButtons = {}}) => {
/*
Provides an interface for using admin tools.
`type` is 'sources', 'cats', 'books' or 'topics'
Expand Down

0 comments on commit 653dbf4

Please sign in to comment.