Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsam committed Dec 1, 2024
1 parent 8b08133 commit acd6c02
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
} from '@remix-run/react'
import { captureRemixErrorBoundaryError, withSentry } from '@sentry/remix'
import clsx from 'clsx'
import dayjs from 'dayjs'
import { AuthenticityTokenProvider } from 'remix-utils/csrf/react'
import { Footer } from '#app/components/footer.tsx'
import { NavBar } from '#app/components/navbar/index.tsx'
Expand All @@ -35,7 +34,6 @@ import { TooltipProvider } from './components/ui/tooltip.tsx'
import { getUser, getUserId, logout } from './utils/auth/auth.server.ts'
import { ClientHintsCheck, getHints } from './utils/client-hints.tsx'
import { csrf } from './utils/csrf.server.ts'
import { db } from './utils/db.server.ts'
import { useNonce } from './utils/nonce-provider.tsx'
import { pipeHeaders } from './utils/remix.server.ts'
import { combineHeaders } from './utils/request.server.ts'
Expand Down
1 change: 0 additions & 1 deletion app/utils/auth/auth.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { db } from '../db.server.ts'
import { env } from '../env.server.ts'
import { type Prettify, downloadFile } from '../misc.ts'
import { combineHeaders } from '../request.server.ts'
import { getRedirect } from '../redirect.server.ts'

export const SESSION_EXPIRATION_TIME = 1000 * 60 * 60 * 24 * 30
export const getSessionExpirationDate = () =>
Expand Down
2 changes: 1 addition & 1 deletion app/utils/cache.server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { remember } from '@epic-web/remember'
import { type CacheEntry, lruCacheAdapter } from '@epic-web/cachified'
import { remember } from '@epic-web/remember'
import { LRUCache } from 'lru-cache'

const lru = remember(
Expand Down
2 changes: 1 addition & 1 deletion app/utils/mdx/compile-mdx.server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { remember } from '@epic-web/remember'
import { cachified } from '@epic-web/cachified'
import { remember } from '@epic-web/remember'
import { bundleMDX as _bundleMDX } from 'mdx-bundler'
import PQueue from 'p-queue'
import { lruCache } from '../cache.server.ts'
Expand Down

0 comments on commit acd6c02

Please sign in to comment.