Skip to content

Commit

Permalink
Remove unused useEffect import to fix GH linter warning (#10035)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinksi authored Dec 24, 2024
1 parent 952e431 commit 504a42c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/dev-10034-linter-warning-useeffect-unused-import
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Not user-facing: removed an unused `useEffect` import causing linter warnings


Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 504a42c

Please sign in to comment.