mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-18 21:40:41 -04:00
Linting refactor (#1197)
This commit is contained in:
committed by
Leendert de Borst
parent
44d84187c8
commit
f6ab23fa03
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user