chore: force aliases react to avoid invalid hook call
This commit is contained in:
@@ -57,6 +57,7 @@ export default (config: SanitizedConfig): Configuration => ({
|
||||
payload$: mockModulePath,
|
||||
'payload-user-css': config.admin.css,
|
||||
dotenv: mockDotENVPath,
|
||||
react: path.resolve(__dirname, '../../node_modules/react'),
|
||||
},
|
||||
extensions: ['.ts', '.tsx', '.js', '.json'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user