Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anubisthejackle committed Apr 3, 2024
1 parent 266e8bf commit 582e5da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entries/slotfills/show-generator-button/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { __ } from '@wordpress/i18n';
import { ClipboardButton, FormToggle } from '@wordpress/components';
import { addQueryArgs } from '@wordpress/url';

// eslint-disable-next-line import/no-unresolved
import { usePostMetaValue } from '@alleyinteractive/block-editor-tools';
import { useSelect } from '@wordpress/data';

Expand All @@ -16,7 +17,7 @@ type CoreEditorStore = {
getPermalink: Function,
};

function Sidebar(): JSX.Element {
function Sidebar() {
const [isChecked, setChecked] = usePostMetaValue('wp_pdf_generator_show');
const [hasCopied, setHasCopied] = useState(false);

Expand Down

0 comments on commit 582e5da

Please sign in to comment.