Skip to content

Commit 88b0fa0

Browse files
committed
Remove react import
1 parent 3fcef24 commit 88b0fa0

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

web/components/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {PageBase} from "web/components/page-base";
22
import {Col} from "web/components/layout/col";
33
import ReactMarkdown from "react-markdown";
4-
import React from "react";
4+
55
import Link from "next/link";
66
import {SEO} from "web/components/SEO";
77
import {capitalize} from "lodash";

web/pages/404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Title } from 'web/components/widgets/title'
77
import { ExternalLinkIcon } from '@heroicons/react/outline'
88
import {discordLink, formLink, githubIssues} from "common/constants";
99
import {SEO} from "web/components/SEO";
10-
import React from "react";
10+
1111

1212
export default function Custom404(props: { customText?: string }) {
1313
return (

web/pages/confirm-email/[tokenId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {PageBase} from 'web/components/page-base'
22
import {Col} from 'web/components/layout/col'
33
import {SEO} from "web/components/SEO";
4-
import React from "react";
4+
55

66
export default function ConfirmEmail() {
77
return (

web/pages/help.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SEO} from 'web/components/SEO'
33
import Link from 'next/link'
44
import {Col} from 'web/components/layout/col'
55
import {Row} from 'web/components/layout/row'
6-
import React from "react";
6+
77

88
export default function HelpPage() {
99
return (

web/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import {Col} from 'web/components/layout/col'
33
import {useUser} from 'web/hooks/use-user'
44
import {LoggedOutHome} from "web/components/home/home";
55
import {ProfilesHome} from "web/components/profiles/profiles-home";
6-
import React from "react";
6+
77

88

99
export default function ProfilesPage() {
1010
const user = useUser();
1111
console.debug('user:', user)
1212

1313
if (user === undefined) {
14-
return <div/>
14+
return <PageBase trackPageView={'loading'}/>
1515
}
1616

1717
return (

web/pages/messages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { MultipleOrSingleAvatars } from 'web/components/multiple-or-single-avata
2020
import { BannedBadge } from 'web/components/widgets/user-link'
2121
import { PrivateMessageChannel } from 'common/supabase/private-messages'
2222
import {SEO} from "web/components/SEO";
23-
import React from "react";
23+
2424

2525
export default function MessagesPage() {
2626
useRedirectIfSignedOut()

web/pages/organization.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {GeneralButton} from "web/components/buttons/general-button";
33
import clsx from "clsx";
44
import {Col} from "web/components/layout/col";
55
import {SEO} from "web/components/SEO";
6-
import React from "react";
6+
77

88

99
export default function Organization() {

web/pages/privacy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {PageBase} from "web/components/page-base";
22
import {supportEmail} from "common/constants";
33
import {SEO} from "web/components/SEO";
4-
import React from "react";
4+
55

66
// TODO: convert to MarkDown for better readability during modifications?
77
export default function PrivacyPage() {

web/pages/social.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {GeneralButton} from "web/components/buttons/general-button";
44
import clsx from "clsx";
55
import {Col} from "web/components/layout/col";
66
import {SEO} from "web/components/SEO";
7-
import React from "react";
7+
88

99

1010
export default function Social() {

web/pages/terms.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {PageBase} from "web/components/page-base";
22
import {supportEmail} from "common/constants";
33
import {SEO} from "web/components/SEO";
4-
import React from "react";
4+
55

66
// TODO: convert to MarkDown for better readability during modifications?
77
export default function TermsPage() {

0 commit comments

Comments
 (0)