Skip to content

Commit

Permalink
fix: use react instead of wordpress-element
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Oct 20, 2024
1 parent b304e91 commit a0042ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/admin/components/fields/jwt-secret-control.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect } from '@wordpress/element';
import { useEffect } from 'react';
import { BaseControl, Button } from '@wordpress/components';
import { dispatch } from '@wordpress/data';
import { __, sprintf } from '@wordpress/i18n';
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/components/provider-config/ClientPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect } from '@wordpress/element';
import { useEffect } from 'react';
import {
Button,
Icon,
Expand Down
4 changes: 2 additions & 2 deletions packages/admin/contexts/provider-config-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
useState,
useCallback,
useEffect,
} from '@wordpress/element';
import type { PropsWithChildren } from 'react';
type PropsWithChildren,
} from 'react';
import type {
ClientOptionsType,
LoginOptionsType,
Expand Down

0 comments on commit a0042ed

Please sign in to comment.