Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparkenstein committed Jun 14, 2024
1 parent 4942623 commit e935634
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions src/components/Modals/ExportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ async function encrypt(plaintext: string, password: string) {
}

// Unused for now, but make a new modal that can decrypt.
// @ts-ignore
async function aesGcmDecrypt(ciphertext: string, password: string) {
const pwUtf8 = new TextEncoder().encode(password); // encode password as UTF-8
const pwHash = await crypto.subtle.digest("SHA-256", pwUtf8); // hash the password
Expand Down
1 change: 0 additions & 1 deletion src/pages/Home/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
Group,
Paper,
Stack,
Table,
Text,
Title,
Tooltip,
Expand Down
2 changes: 0 additions & 2 deletions src/pages/Home/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ import {
Menu,
Stack,
TextInput,
ThemeIcon,
rem,
useMantineColorScheme,
} from "@mantine/core";
import {
IconBrandDaysCounter,
IconCalendar,
IconSettings,
IconSort09,
IconSortAZ,
IconSortAscending,
IconSortAscending2,
Expand Down

0 comments on commit e935634

Please sign in to comment.