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
This use of an inlined record is not allowed: its anonymous type would escape its constructor scope.
12
+
Possible solutions:
13
+
- Destructure the fields you're interested in from the inline record
14
+
- Change the underlying type to use a defined record as payload instead of an inline record. That will let you use the payload without destructuring it first
0 commit comments