Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scefali committed Jun 7, 2024
1 parent ab9bac6 commit d92699f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/orm/user.server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

import { prisma } from '#app/utils/db.server.ts'
import { BadRefreshTokenError } from '#app/utils/errors.tsx'

export const getGithubToken = async (userId: number) => {
let gitHubAuth;
Expand Down
18 changes: 9 additions & 9 deletions app/routes/app.team.tsx
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@

import { Prisma } from '@prisma/client'
import {
type ActionFunctionArgs,
type LoaderFunctionArgs,
type TypedResponse,
json,
redirect,
} from '@remix-run/node'
import { Loader2 } from 'lucide-react'
import { Fragment, useEffect, useState } from 'react'

import {
Form,
useActionData,
useNavigation,
useLoaderData,
useFetcher,
} from '@remix-run/react'
import { Prisma } from '@prisma/client'
import { Loader2 } from 'lucide-react'
import { Fragment, useEffect, useState } from 'react'

import { getUser } from '#app/utils/github.ts'
import { getSession } from '#app/utils/session.server.ts'
import { Input } from '#app/@/components/ui/input.tsx'
import { Button } from '#app/@/components/ui/button.tsx'
import { prisma } from '#app/utils/db.server.ts'
import MemberItem from '#app/components/member-item.tsx'
import { Input } from '#app/@/components/ui/input.tsx'
import AppLayout from '#app/components/app-layout'
import MemberItem from '#app/components/member-item.tsx'
import { getGithubToken } from '#app/orm/user.server'
import { GITHUB_LOGIN_URL } from '#app/utils/constants'
import { prisma } from '#app/utils/db.server.ts'
import { BadRefreshTokenError } from '#app/utils/errors'
import { getUser } from '#app/utils/github.ts'
import { getSession } from '#app/utils/session.server.ts'

type ActionData = { status: 'error'; message: string } | { status: 'success' }

Expand Down

0 comments on commit d92699f

Please sign in to comment.