Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Linting refactor (#1197)

Leendert de Borstf6ab23fa03e9
diff --git a/apps/browser-extension/src/entrypoints/popup/components/Logo.tsx b/apps/browser-extension/src/entrypoints/popup/components/Logo.tsx
index e4ebfe516..e3bc65af9 100644
--- a/apps/browser-extension/src/entrypoints/popup/components/Logo.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/components/Logo.tsx
@@ -1,6 +1,6 @@
import React from 'react';
-interface LogoProps {
+type LogoProps = {
className?: string;
width?: number;
height?: number;
@@ -8,6 +8,9 @@ interface LogoProps {
color?: string;
}
+/**
+ * Logo component.
+ */
const Logo: React.FC<LogoProps> = ({
className = '',
width = 200,
diff --git a/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx b/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx
index 6eb728dac..d1526415b 100644
--- a/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/context/NavigationContext.tsx
@@ -56,8 +56,10 @@ export const NavigationProvider: React.FC<{ children: React.ReactNode }> = ({ ch
for (let i = 0; i < segments.length; i++) {
currentPath += '/' + segments[i];
- // For settings subpages, include both /settings and the subpage
- // For email details, include both /emails and the specific email
+ /*
+ * For settings subpages, include both /settings and the subpage
+ * For email details, include both /emails and the specific email
+ */
historyEntries.push({
pathname: currentPath,
search: location.search,