docs/frontend-system: remove instruction to add React import

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-04-08 19:05:55 +02:00
parent d3f90ed3eb
commit 65dd7b53be
@@ -105,10 +105,9 @@ and the following instruction in the plugin README:
<Route path="/foo" element={<FooPage />} />
```
it can be migrated as the following, keeping in mind that you may need to switch from `.ts` to `.tsx` and import React:
it can be migrated as the following, keeping in mind that you may need to switch from `.ts` to `.tsx`:
```tsx
import React from 'react';
import { PageBlueprint } from '@backstage/frontend-plugin-api';
import {
compatWrapper,