A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: timeago not updating live
thecodrr488613a65cc2
diff --git a/apps/web/src/components/time-ago/index.js b/apps/web/src/components/time-ago/index.jsindex 015d956a8..a29f528eb 100644--- a/apps/web/src/components/time-ago/index.js+++ b/apps/web/src/components/time-ago/index.js@@ -41,7 +41,7 @@ function TimeAgo({ datetime, live, locale, opts, ...restProps }) {}, [datetime, live, locale, opts]);return (- <Text {...restProps} as="time" dateTime={toTime(datetime)}>+ <Text ref={timeRef} {...restProps} as="time" dateTime={toTime(datetime)}>{format(datetime, locale, opts)}</Text>);