Linting refactor (#1197)

This commit is contained in:
Leendert de Borst
2025-09-11 14:27:19 +02:00
committed by Leendert de Borst
parent 44d84187c8
commit f6ab23fa03
2 changed files with 8 additions and 3 deletions

View File

@@ -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,

View File

@@ -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,