ywana-core8 0.0.475 → 0.0.476

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
@@ -1964,7 +1964,7 @@ var TokenField = function TokenField(_ref) {
1964
1964
  event.preventDefault();
1965
1965
  event.stopPropagation();
1966
1966
  var token = event.target.value;
1967
- var next = tokens.concat(token);
1967
+ var next = tokens.concat(token.trim());
1968
1968
  if (onChange) onChange(id, next);
1969
1969
  setValue('');
1970
1970
  }