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
feat: make snackbar transition smoother
thecodrr4d555164a2cf
diff --git a/apps/web/src/components/snackbar/index.js b/apps/web/src/components/snackbar/index.jsindex 84caaf543..e9e99a433 100644--- a/apps/web/src/components/snackbar/index.js+++ b/apps/web/src/components/snackbar/index.js@@ -11,7 +11,7 @@ export function showSnack(message, icon = undefined) {setTimeout(() => {const snackbar = document.getElementById("snackbar");if (!snackbar) return;- setTimeout(() => ReactDOM.unmountComponentAtNode(root), 1000);+ setTimeout(() => ReactDOM.unmountComponentAtNode(root), 700);snackbar.animate({opacity: [1, 0],@@ -19,7 +19,7 @@ export function showSnack(message, icon = undefined) {},1000);- }, 2000);+ }, 3000);}}