Skip to content

Commit

Permalink
jsdoc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
heikkivihersalo committed Oct 21, 2024
1 parent 616cd26 commit 8c32d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import styles from '../index.module.css';
/**
* SubmitButton component
* @param {Object} props - Component props
* @param {string} props.status - Popover status
* @param {Function} props.closeCallback - Close button callback
* @return {JSX.Element} SubmitButton component
*/
const CloseButton = ({
Expand Down
4 changes: 2 additions & 2 deletions src/features/ai-modal/features/modal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { Popover } from '@wordpress/components';
import { useSelect } from '@wordpress/data';

Expand All @@ -18,7 +17,8 @@ import type { ModalStatus } from 'types/modal';
/**
* Textarea component
* @param {Object} props - Component props
* @param {string} props.placeholder - Textarea placeholder
* @param {Element} props.anchor - Popover anchor
* @param {string} props.mode - Popover mode
* @return {JSX.Element} Textarea component
*/
const Modal = ({
Expand Down

0 comments on commit 8c32d4e

Please sign in to comment.