@cripty2001/utils 0.0.133 → 0.0.134
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/react-whispr.js +1 -0
- package/package.json +1 -1
package/dist/react-whispr.js
CHANGED
|
@@ -191,6 +191,7 @@ function useRelTime(refresh = 1000) {
|
|
|
191
191
|
const delta = then - now;
|
|
192
192
|
const seconds = Math.round(delta / 1000);
|
|
193
193
|
const { limit, unit } = getFormat(seconds);
|
|
194
|
+
console.log("format", Math.floor(seconds / limit), unit);
|
|
194
195
|
return rtf.format(Math.floor(seconds / limit), unit);
|
|
195
196
|
}, [currTs, rtf]);
|
|
196
197
|
return cb;
|
package/package.json
CHANGED