You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105
+
JSCompiler_inline_result$jscomp$0
131
106
);
107
+
returntestStringCoercion(value);
108
+
}
132
109
}
133
110
functiongetTaskName(type){
134
111
if(type===REACT_FRAGMENT_TYPE)return"<>";
@@ -160,7 +137,7 @@ __DEV__ &&
160
137
functionwarnAboutAccessingKey(){
161
138
specialPropKeyWarningShown||
162
139
((specialPropKeyWarningShown=!0),
163
-
error(
140
+
console.error(
164
141
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105
+
JSCompiler_inline_result$jscomp$0
131
106
);
107
+
returntestStringCoercion(value);
108
+
}
132
109
}
133
110
functiongetTaskName(type){
134
111
if(type===REACT_FRAGMENT_TYPE)return"<>";
@@ -160,7 +137,7 @@ __DEV__ &&
160
137
functionwarnAboutAccessingKey(){
161
138
specialPropKeyWarningShown||
162
139
((specialPropKeyWarningShown=!0),
163
-
error(
140
+
console.error(
164
141
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
0 commit comments