mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Update detail message
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ function generateCompilerError(
|
||||
compilerDiagnostic.withDetail({
|
||||
kind: 'error',
|
||||
loc: loc,
|
||||
message: 'this useState shadows a reactive value',
|
||||
message: `this useState shadows ${derivedDep}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user