Skip to content

Commit 076728a

Browse files
committed
refactor(page-title): change export to named export for consistency
1 parent f16fb39 commit 076728a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/layout/content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useFilecoinUpload } from '../../hooks/use-filecoin-upload.ts'
33
import DragNDrop from '../upload/drag-n-drop.tsx'
44
import UploadProgress from '../upload/upload-progress.tsx'
55
import './content.css'
6-
import PageTitle from '../ui/page-title.tsx'
6+
import { PageTitle } from '../ui/page-title.tsx'
77

88
export default function Content() {
99
const [uploadedFile, setUploadedFile] = useState<{ file: File; cid: string } | null>(null)

src/components/ui/page-title.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ function PageTitle() {
99
)
1010
}
1111

12-
export default PageTitle
12+
export { PageTitle }

0 commit comments

Comments
 (0)