Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: lint error

QiShaoXuan02d85c893b20
diff --git a/packages/app/src/components/Header/icons.tsx b/packages/app/src/components/Header/icons.tsx
index deea320cd8..9e27fc7875 100644
--- a/packages/app/src/components/Header/icons.tsx
+++ b/packages/app/src/components/Header/icons.tsx
@@ -42,7 +42,6 @@ export const MoonIcon = ({ style = {}, ...props }: IconProps) => {
);
};
-
export const SunIcon = ({ style = {}, ...props }: IconProps) => {
return (
<svg
diff --git a/packages/app/src/components/Header/index.tsx b/packages/app/src/components/Header/index.tsx
index bf1fad41e2..17adfb2afe 100644
--- a/packages/app/src/components/Header/index.tsx
+++ b/packages/app/src/components/Header/index.tsx
@@ -1,11 +1,5 @@
import React, { useEffect, useState } from 'react';
-import {
- LogoIcon,
- SunIcon,
- MoonIcon,
- MoreIcon,
- ExportIcon,
-} from './icons';
+import { LogoIcon, SunIcon, MoonIcon, MoreIcon, ExportIcon } from './icons';
import {
StyledHeader,
StyledTitle,