Skip to content

Commit

Permalink
Externalize the Modal component imported from @wordpress/components.
Browse files Browse the repository at this point in the history
  • Loading branch information
eason9487 committed Aug 4, 2023
1 parent ccda461 commit 8f5d63a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/src/components/app-modal/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import { Modal } from '@wordpress/components';
import { Modal } from 'extracted/@wordpress/components';
import classnames from 'classnames';

/**
Expand Down
7 changes: 5 additions & 2 deletions js/src/external-components/wordpress/guide/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
import classnames from 'classnames';
import { useState } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import { Modal } from '@wordpress/components';
import { Button, KeyboardShortcuts } from 'extracted/@wordpress/components';
import {
Modal,
Button,
KeyboardShortcuts,
} from 'extracted/@wordpress/components';

/**
* Internal dependencies
Expand Down

0 comments on commit 8f5d63a

Please sign in to comment.