Skip to content

Commit

Permalink
Remove unused import and outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed Aug 20, 2021
1 parent 335053a commit f4a3396
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/components/src/confirm/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ import { Heading } from '../heading';
import { contextConnect, PolymorphicComponentProps } from '../ui/context';
import { useConfirm } from './hook';
import type { KeyboardEvent } from 'react';
import { ESCAPE } from '@wordpress/keycodes';

// @todo deal with overlay click event, close dialog
// @todo add type declarations for the react-confirm functions
function Confirm(
props: PolymorphicComponentProps< OwnProps, 'div', false >,
Expand Down

0 comments on commit f4a3396

Please sign in to comment.