mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Remove react import
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {PageBase} from "web/components/page-base";
|
||||
import {Col} from "web/components/layout/col";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import React from "react";
|
||||
|
||||
import Link from "next/link";
|
||||
import {SEO} from "web/components/SEO";
|
||||
import {capitalize} from "lodash";
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Title } from 'web/components/widgets/title'
|
||||
import { ExternalLinkIcon } from '@heroicons/react/outline'
|
||||
import {discordLink, formLink, githubIssues} from "common/constants";
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
export default function Custom404(props: { customText?: string }) {
|
||||
return (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {PageBase} from 'web/components/page-base'
|
||||
import {Col} from 'web/components/layout/col'
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
export default function ConfirmEmail() {
|
||||
return (
|
||||
|
||||
@@ -3,7 +3,7 @@ import {SEO} from 'web/components/SEO'
|
||||
import Link from 'next/link'
|
||||
import {Col} from 'web/components/layout/col'
|
||||
import {Row} from 'web/components/layout/row'
|
||||
import React from "react";
|
||||
|
||||
|
||||
export default function HelpPage() {
|
||||
return (
|
||||
|
||||
@@ -3,7 +3,7 @@ import {Col} from 'web/components/layout/col'
|
||||
import {useUser} from 'web/hooks/use-user'
|
||||
import {LoggedOutHome} from "web/components/home/home";
|
||||
import {ProfilesHome} from "web/components/profiles/profiles-home";
|
||||
import React from "react";
|
||||
|
||||
|
||||
|
||||
export default function ProfilesPage() {
|
||||
@@ -11,7 +11,7 @@ export default function ProfilesPage() {
|
||||
console.debug('user:', user)
|
||||
|
||||
if (user === undefined) {
|
||||
return <div/>
|
||||
return <PageBase trackPageView={'loading'}/>
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -20,7 +20,7 @@ import { MultipleOrSingleAvatars } from 'web/components/multiple-or-single-avata
|
||||
import { BannedBadge } from 'web/components/widgets/user-link'
|
||||
import { PrivateMessageChannel } from 'common/supabase/private-messages'
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
export default function MessagesPage() {
|
||||
useRedirectIfSignedOut()
|
||||
|
||||
@@ -3,7 +3,7 @@ import {GeneralButton} from "web/components/buttons/general-button";
|
||||
import clsx from "clsx";
|
||||
import {Col} from "web/components/layout/col";
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
|
||||
export default function Organization() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {PageBase} from "web/components/page-base";
|
||||
import {supportEmail} from "common/constants";
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
// TODO: convert to MarkDown for better readability during modifications?
|
||||
export default function PrivacyPage() {
|
||||
|
||||
@@ -4,7 +4,7 @@ import {GeneralButton} from "web/components/buttons/general-button";
|
||||
import clsx from "clsx";
|
||||
import {Col} from "web/components/layout/col";
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
|
||||
export default function Social() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {PageBase} from "web/components/page-base";
|
||||
import {supportEmail} from "common/constants";
|
||||
import {SEO} from "web/components/SEO";
|
||||
import React from "react";
|
||||
|
||||
|
||||
// TODO: convert to MarkDown for better readability during modifications?
|
||||
export default function TermsPage() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React from "react";
|
||||
|
||||
import Image from "next/image";
|
||||
|
||||
type FavIconProps = React.SVGProps<SVGSVGElement>;
|
||||
|
||||
Reference in New Issue
Block a user