From 504a42cc9b69b0d4207e04feee4c7652dc8c0bec Mon Sep 17 00:00:00 2001 From: Eric Jinks <3147296+Jinksi@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:27:51 +1000 Subject: [PATCH] Remove unused useEffect import to fix GH linter warning (#10035) --- changelog/dev-10034-linter-warning-useeffect-unused-import | 5 +++++ .../modal/progressive-onboarding-eligibility/index.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/dev-10034-linter-warning-useeffect-unused-import diff --git a/changelog/dev-10034-linter-warning-useeffect-unused-import b/changelog/dev-10034-linter-warning-useeffect-unused-import new file mode 100644 index 00000000000..4d2131a41b7 --- /dev/null +++ b/changelog/dev-10034-linter-warning-useeffect-unused-import @@ -0,0 +1,5 @@ +Significance: patch +Type: dev +Comment: Not user-facing: removed an unused `useEffect` import causing linter warnings + + diff --git a/client/overview/modal/progressive-onboarding-eligibility/index.tsx b/client/overview/modal/progressive-onboarding-eligibility/index.tsx index 6f6be89a707..21a6e5a22fa 100644 --- a/client/overview/modal/progressive-onboarding-eligibility/index.tsx +++ b/client/overview/modal/progressive-onboarding-eligibility/index.tsx @@ -1,7 +1,7 @@ /** * External dependencies */ -import React, { useEffect, useState } from 'react'; +import React, { useState } from 'react'; import { __, sprintf } from '@wordpress/i18n'; import { addQueryArgs } from '@wordpress/url'; import { Button, Modal } from '@wordpress/components';