Commit 0fefffd
committed
fix: restore React value import in CallToActionSection
Biome auto-fix split 'import React, { useState }' into a type-only
'import type React' plus a value 'import { useState }'. Jest uses the
classic JSX transform which requires React as a runtime value in scope;
the type-only import stripped it out, causing ReferenceError in tests.1 parent 910f98f commit 0fefffd
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
0 commit comments