Skip to content

Commit

Permalink
Update packages/block-editor/src/components/global-styles/shadow-pane…
Browse files Browse the repository at this point in the history
…l-components.js

Co-authored-by: Aki Hamano <[email protected]>
  • Loading branch information
madhusudhand and t-hamano authored Feb 23, 2024
1 parent 66b0ae5 commit 93d91e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export function useShadowPresets( settings ) {

const defaultPresetsEnabled = settings?.shadow?.defaultPresets;
const { default: defaultShadows, theme: themeShadows } =
settings?.shadow?.presets;
settings?.shadow?.presets ?? {};
const unsetShadow = {
name: __( 'Unset' ),
slug: 'unset',
Expand Down

0 comments on commit 93d91e0

Please sign in to comment.