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
prevent nan from showing as time
ammarahm-ed7cc88b443390
diff --git a/apps/mobile/src/components/Menu/TimeSince.js b/apps/mobile/src/components/Menu/TimeSince.jsindex eda048241..e1d8de643 100644--- a/apps/mobile/src/components/Menu/TimeSince.js+++ b/apps/mobile/src/components/Menu/TimeSince.js@@ -6,7 +6,8 @@ export const TimeSince = ({time, style,updateFrequency=30000}) => {const [timeAgo, setTimeAgo] = useState(null);useEffect(() => {- let t = timeSince(time);++ let t = timeSince(time || Date.now());setTimeAgo(t);let interval = setInterval(() => {t = timeSince(time);