Skip to content

Commit

Permalink
fix remove unused passed argument from useSpecificEditorSettings call
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Nov 19, 2024
1 parent f0c680f commit 557ec18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/edit-site/src/components/editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ export default function EditSiteEditor( { isPostsList = false } ) {
'edit-site-editor__loading-progress'
);

const settings = useSpecificEditorSettings(
!! context?.postId && context?.postType !== 'post'
);
const settings = useSpecificEditorSettings();
const styles = useMemo(
() => [
...settings.styles,
Expand Down

0 comments on commit 557ec18

Please sign in to comment.