Skip to content

Commit

Permalink
Add internal dependencies flag; update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed May 5, 2023
1 parent 8ce00cd commit 1427e8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/image/interactivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ store( {

// We only want to focus the last focused element
// if the lightbox was closed by the keyboard.
// Note: Pressing enter on a button will trigger
// Note: Pressing Enter on a button will trigger
// a click event with a blank pointerType.
if (
( event.key && event.type === 'keydown' ) ||
Expand Down
3 changes: 3 additions & 0 deletions packages/block-library/src/utils/interactivity/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
*/
import { useContext, useMemo, useEffect } from 'preact/hooks';
import { deepSignal, peek } from 'deepsignal';
/**
* Internal dependencies
*/
import { createPortal } from './portals.js';

/**
Expand Down

0 comments on commit 1427e8a

Please sign in to comment.