Skip to content

Commit

Permalink
chore: format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Dec 29, 2024
1 parent 42f404f commit 5ff8368
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions apps/web/app/entry.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import * as Sentry from '@sentry/remix'
* For more information, see https://remix.run/file-conventions/entry.client
*/

import { useLocation, useMatches } from 'react-router'
import { HydratedRouter } from 'react-router/dom'
import { StrictMode, startTransition, useEffect } from 'react'
import { hydrateRoot } from 'react-dom/client'
import { useLocation, useMatches } from 'react-router'
import { HydratedRouter } from 'react-router/dom'

Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN,
Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/entry.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import * as Sentry from '@sentry/remix'
* For more information, see https://remix.run/file-conventions/entry.server
*/

import type { AppLoadContext, EntryContext } from 'react-router'
import { ServerRouter } from 'react-router'
import { isbot } from 'isbot'
import { renderToReadableStream } from 'react-dom/server'
import type { AppLoadContext, EntryContext } from 'react-router'
import { ServerRouter } from 'react-router'

Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { withSentry } from '@sentry/remix'
import type { LinksFunction } from 'react-router'
import { Links, Meta, Outlet, Scripts } from 'react-router'
import { withSentry } from '@sentry/remix'
import stylesheet from './tailwind.css?url'

export const links: LinksFunction = () => [
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/routes/api.flights.$id.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { makeDatabaseConnection } from '@mach/shared-database'
import * as Sentry from '@sentry/remix'
import {
type HeadersFunction,
type LoaderFunctionArgs,
data,
} from 'react-router'
import * as Sentry from '@sentry/remix'
import { fetchFlightById } from '../services/fetch-flight-by-id'

export const headers: HeadersFunction = () => ({
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/routes/api.flights.all.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { makeDatabaseConnection } from '@mach/shared-database'
import * as Sentry from '@sentry/remix'
import {
type HeadersFunction,
type LoaderFunctionArgs,
data,
} from 'react-router'
import * as Sentry from '@sentry/remix'
import { fetchFlights, fetchFlightsSchema } from '../services/fetch-flights'

export const headers: HeadersFunction = () => ({
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/routes/api.flights.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { makeDatabaseConnection } from '@mach/shared-database'
import * as Sentry from '@sentry/remix'
import {
type HeadersFunction,
type LoaderFunctionArgs,
data,
} from 'react-router'
import * as Sentry from '@sentry/remix'
import {
fetchFlights,
fetchFlightsSchema,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/// <reference types='vitest' />

import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'
import { cloudflareDevProxy } from '@react-router/dev/vite/cloudflare'
import { reactRouter } from '@react-router/dev/vite'
import { cloudflareDevProxy } from '@react-router/dev/vite/cloudflare'
import { sentryVitePlugin } from '@sentry/vite-plugin'
import { defineConfig } from 'vite'
import { envOnlyMacros } from 'vite-env-only'
Expand Down
2 changes: 1 addition & 1 deletion modules/shared-database/src/connection.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createClient } from '@libsql/client'
import type { AppLoadContext } from 'react-router'
import { drizzle } from 'drizzle-orm/libsql'
import type { AppLoadContext } from 'react-router'
import * as schema from './schema'

const client = createClient({
Expand Down
2 changes: 1 addition & 1 deletion modules/web-details/src/views/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {
ModalHeading,
ModalRoot,
} from '@mach/web-shared-ui/modal'
import { ReactNode } from 'react'
import { LoaderFunctionArgs } from 'react-router'
import { useLoaderData, useNavigate } from 'react-router'
import { ReactNode } from 'react'
import { serverOnly$ } from 'vite-env-only/macros'
import { fetchFlightById } from '../services/fetch-flight-by-id'
import { formatEet } from '../utils/format-eet'
Expand Down
2 changes: 1 addition & 1 deletion modules/web-search/src/views/error-boundary.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Layout } from '@mach/web-shared-ui/layout'
import { Lead } from '@mach/web-shared-ui/lead'
import { Link } from '@mach/web-shared-ui/link'
import { useRouteError } from 'react-router'
import { captureRemixErrorBoundaryError } from '@sentry/remix'
import { useRouteError } from 'react-router'

export function SearchErrorBoundary() {
const error = useRouteError()
Expand Down

0 comments on commit 5ff8368

Please sign in to comment.