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 <54422211+t-hamano@users.noreply.github.com>
  • Loading branch information
madhusudhand and t-hamano committed Feb 26, 2024
1 parent 8aa28a7 commit 2d2b5d2
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 2d2b5d2

Please sign in to comment.