Describe the bug
After the release of React 18 trying to to Initialize component with React and Fluent UI doesn't work properly.
To Reproduce
Steps to reproduce the behavior:
Run Initialize Component (Simple) with React and Fluent UI option
Expected behavior
A clear and concise description of what you expected to happen.
Expected: Control with react and fluent UI is created.
Actual: Control is created but react and fluent UI aren't addeed because error occurs.
Screenshots
If applicable, add screenshots to help explain your problem.

Version
- VS Code version: 1.66.2
- VS Code Extension version: 1.1.2
Additional context
Add any other context about the problem here.
Describe the bug
After the release of React 18 trying to to Initialize component with React and Fluent UI doesn't work properly.
To Reproduce
Steps to reproduce the behavior:
Run Initialize Component (Simple) with React and Fluent UI option
Expected behavior
A clear and concise description of what you expected to happen.
Expected: Control with react and fluent UI is created.
Actual: Control is created but react and fluent UI aren't addeed because error occurs.
Screenshots

If applicable, add screenshots to help explain your problem.
Version
Additional context
Add any other context about the problem here.