Skip to content

Commit

Permalink
fix(tailwindcss): fix Tailwindcss IntelliSense dont show completion
Browse files Browse the repository at this point in the history
  • Loading branch information
tiesen243 committed Jan 27, 2025
1 parent 0f383fb commit 353c8a5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import '@yuki/ui/tailwind.css'
import '@yuki/ui/index.css'

import { Geist, Geist_Mono } from 'next/font/google'
import { ThemeProvider } from 'next-themes'

import { Toaster } from '@yuki/ui/toaster'
import { cn } from '@yuki/ui/utils'

import { SessionProvider } from '@/hooks/use-session'
import { createMetadata } from '@/lib/metadata'
import { SessionProvider } from '@/lib/session'
import { TRPCReactProvider } from '@/lib/trpc/react'

const geistSans = Geist({ variable: '--font-sans', subsets: ['latin'] })
Expand Down
6 changes: 3 additions & 3 deletions apps/web/lib/session.tsx → apps/web/hooks/use-session.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import type { Session } from '@yuki/auth'

const sessionContext = React.createContext<
| {
session?: Session
isLoading: boolean
}
session?: Session
isLoading: boolean
}
| undefined
>(undefined)

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"./src/hooks/*.tsx"
]
},
"./tailwind.css": "./src/tailwind.css"
"./index.css": "./src/index.css"
},
"scripts": {
"build": "tsc",
Expand Down
File renamed without changes.

0 comments on commit 353c8a5

Please sign in to comment.