Refactor: removed default exports.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
import ReportTemplates from './ReportTemplates';
|
||||
import { ReportTemplates } from './ReportTemplates';
|
||||
|
||||
export default function ReportCreatePage() {
|
||||
export function ReportCreatePage() {
|
||||
return <ReportTemplates />;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import Path from '@/assets/path.svg';
|
||||
import Tag from '@/assets/tag.svg';
|
||||
import Target from '@/assets/target.svg';
|
||||
import { useMessages, useTeamUrl } from '@/components/hooks';
|
||||
import PageHeader from '@/components/layout/PageHeader';
|
||||
import { PageHeader } from '@/components/layout/PageHeader';
|
||||
import Link from 'next/link';
|
||||
import { Button, Icon, Icons, Text } from 'react-basics';
|
||||
import styles from './ReportTemplates.module.css';
|
||||
@@ -97,5 +97,3 @@ function ReportItem({ title, description, url, icon }) {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default ReportTemplates;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import ReportCreatePage from './ReportCreatePage';
|
||||
import { ReportCreatePage } from './ReportCreatePage';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default function () {
|
||||
|
||||
Reference in New Issue
Block a user