chore: update react imports
Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import {
|
||||
coreExtensionData,
|
||||
createExtension,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React, { useCallback } from 'react';
|
||||
import { useCallback } from 'react';
|
||||
import { screen, fireEvent } from '@testing-library/react';
|
||||
import {
|
||||
MockAnalyticsApi,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { Fragment } from 'react';
|
||||
import { Link, MemoryRouter } from 'react-router-dom';
|
||||
import {
|
||||
createSpecializedApp,
|
||||
@@ -183,7 +183,7 @@ export function renderInTestApp(
|
||||
coreExtensionData.routeRef,
|
||||
],
|
||||
factory: () => [
|
||||
coreExtensionData.reactElement(<React.Fragment />),
|
||||
coreExtensionData.reactElement(<Fragment />),
|
||||
coreExtensionData.routePath(path),
|
||||
coreExtensionData.routeRef(routeRef),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user