ywana-core8 0.0.387 → 0.0.388

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2113,6 +2113,8 @@ var LoginBox = function LoginBox(_ref) {
2113
2113
  title = _ref.title,
2114
2114
  _ref$userLabel = _ref.userLabel,
2115
2115
  userLabel = _ref$userLabel === void 0 ? "User" : _ref$userLabel,
2116
+ _ref$userValue = _ref.userValue,
2117
+ userValue = _ref$userValue === void 0 ? "" : _ref$userValue,
2116
2118
  _ref$passwordLabel = _ref.passwordLabel,
2117
2119
  passwordLabel = _ref$passwordLabel === void 0 ? "Password" : _ref$passwordLabel,
2118
2120
  _ref$passwordValue = _ref.passwordValue,
@@ -2126,7 +2128,7 @@ var LoginBox = function LoginBox(_ref) {
2126
2128
  message = _ref.message,
2127
2129
  loading = _ref.loading;
2128
2130
 
2129
- var _useState = React.useState(''),
2131
+ var _useState = React.useState(userValue),
2130
2132
  user = _useState[0],
2131
2133
  setUser = _useState[1];
2132
2134