Skip to content

Commit

Permalink
Refactor imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdinandsalis committed Jan 23, 2025
1 parent d161dfe commit 92b6dbb
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/components/back-to-top.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link } from 'react-router'
import { ChevronUpIcon } from 'lucide-react'
import { Link } from 'react-router'

export function BackToTop({ className }: { className?: string }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion app/components/error-boundary.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { captureRemixErrorBoundaryError } from '@sentry/remix'
import {
type ErrorResponse,
isRouteErrorResponse,
useParams,
useRouteError,
} from 'react-router'
import { captureRemixErrorBoundaryError } from '@sentry/remix'
import { getErrorMessage } from '#app/utils/misc.tsx'

type StatusHandler = (info: {
Expand Down
2 changes: 1 addition & 1 deletion app/components/newsletter.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useFetcher } from 'react-router'
import { LoaderIcon } from 'lucide-react'
import { useFetcher } from 'react-router'
import { HoneypotInputs } from 'remix-utils/honeypot/react'
import { useSpinDelay } from 'spin-delay'
import { type action } from '#app/routes/resources+/newsletter.ts'
Expand Down
2 changes: 1 addition & 1 deletion app/components/shell.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Link, NavLink } from 'react-router'
import {
ExternalLinkIcon,
Home,
InstagramIcon,
YoutubeIcon,
} from 'lucide-react'
import { Link, NavLink } from 'react-router'
import { cn } from '#app/utils/misc.tsx'
import { LogoType } from './brand.tsx'
import { NewsletterForm } from './newsletter.tsx'
Expand Down
2 changes: 1 addition & 1 deletion app/components/toc.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link } from 'react-router'
import { BookOpen } from 'lucide-react'
import { Link } from 'react-router'
import { cn } from '#app/utils/misc.js'

export function Toc({
Expand Down
2 changes: 1 addition & 1 deletion app/components/ui/divider.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link } from 'react-router'
import { ChevronUpIcon } from 'lucide-react'
import { Link } from 'react-router'
import { cn } from '#app/utils/misc.js'

export function Divider({
Expand Down
2 changes: 1 addition & 1 deletion app/entry.client.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HydratedRouter } from 'react-router/dom'
import { startTransition } from 'react'
import { hydrateRoot } from 'react-dom/client'
import { HydratedRouter } from 'react-router/dom'

if (ENV.MODE === 'production' && ENV.SENTRY_DSN) {
import('./utils/monitoring.client.tsx')
Expand Down
6 changes: 3 additions & 3 deletions app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { withSentry } from '@sentry/remix'
import { MenuIcon } from 'lucide-react'
import {
Link,
Links,
Expand All @@ -8,9 +10,8 @@ import {
useLoaderData,
useLocation,
} from 'react-router'
import { withSentry } from '@sentry/remix'
import { MenuIcon } from 'lucide-react'
import { HoneypotProvider } from 'remix-utils/honeypot/react'
import { type Route } from '../.react-router/types/app/+types/root.ts'
import { LogoSymbol, LogoType } from './components/brand.tsx'
import { GeneralErrorBoundary } from './components/error-boundary.tsx'
import { FooterNavigation, Navigation } from './components/shell.tsx'
Expand All @@ -24,7 +25,6 @@ import fontStyleSheetUrl from './styles/font.css?url'
import { getEnv } from './utils/env.server.ts'
import { honeypot } from './utils/honeypot.server.ts'
import { cn, getDomainUrl } from './utils/misc.tsx'
import { type Route } from '../.react-router/types/app/+types/root.ts'

export function links() {
return [
Expand Down

0 comments on commit 92b6dbb

Please sign in to comment.