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
refactor: fix warnings
thecodrr90026ccacf5d
diff --git a/apps/web/src/components/dialogs/exportdialog.js b/apps/web/src/components/dialogs/exportdialog.jsindex df5ab763b..a98247e7b 100644--- a/apps/web/src/components/dialogs/exportdialog.js+++ b/apps/web/src/components/dialogs/exportdialog.js@@ -2,7 +2,6 @@ import React from "react";import { Flex, Button, Text } from "rebass";import { db } from "../../common";import download from "../../utils/download";-import { showToast } from "../../utils/toast";import * as Icon from "../icons";import Dialog, { showDialog } from "./dialog";diff --git a/apps/web/src/views/search.js b/apps/web/src/views/search.jsindex a4c12100c..12f07d06e 100644--- a/apps/web/src/views/search.js+++ b/apps/web/src/views/search.js@@ -35,9 +35,9 @@ function Search() {return (<><SearchBox- onSearch={(query) => {+ onSearch={async (query) => {const [lookupType, items] = typeToItems(type, context);- setResults(db.lookup[lookupType](items, query));+ setResults(await db.lookup[lookupType](items, query));}}/><ListContainer