revdev-components 0.107.0 → 0.108.0

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.
Files changed (2) hide show
  1. package/build/index.js +1 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -6,7 +6,6 @@ var antd = require('antd');
6
6
  var router = require('next/router');
7
7
  var Link = require('next/link');
8
8
  var revdev = require('revdev');
9
- var Randex = require('randex');
10
9
  var numeral = require('numeral');
11
10
 
12
11
  function _interopNamespaceDefault(e) {
@@ -5590,7 +5589,7 @@ var WordInline = function (_a) {
5590
5589
  var className = _a.className, tranLangCode = _a.tranLangCode, generateUrl = _a.generateUrl, fontSize = _a.fontSize, offsetRatioY = _a.offsetRatioY, mode = _a.mode, _c = _a.word, text = _c.text, langCode = _c.langCode, active = _c.active;
5591
5590
  var _d = React.useState(), knowing = _d[0], setKnowing = _d[1];
5592
5591
  var _e = React.useState(), reaction = _e[0], setReaction = _e[1];
5593
- var rate = React.useState(Randex.number(0, 10))[0];
5592
+ var rate = React.useState(5)[0];
5594
5593
  var prefixContent = React.useMemo(function () {
5595
5594
  if (mode) {
5596
5595
  return (React.createElement("div", { className: s$2.prefix },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.107.0",
3
+ "version": "0.108.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {