Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: remove hover bg

corevibe5558140eab35031
diff --git a/web-app/src/routes/__root.tsx b/web-app/src/routes/__root.tsx
index 45ff76296..572374a6a 100644
--- a/web-app/src/routes/__root.tsx
+++ b/web-app/src/routes/__root.tsx
@@ -15,7 +15,6 @@ import { useAnalytic } from '@/hooks/useAnalytic'
import { PromptAnalytic } from '@/containers/analytics/PromptAnalytic'
import { useJanModelPrompt } from '@/hooks/useJanModelPrompt'
import { PromptJanModel } from '@/containers/PromptJanModel'
-import { useLatestJanModel } from '@/hooks/useLatestJanModel'
import { AnalyticProvider } from '@/providers/AnalyticProvider'
import { useLeftPanel } from '@/hooks/useLeftPanel'
import ToolApproval from '@/containers/dialogs/ToolApproval'
@@ -45,13 +44,6 @@ const AppLayout = () => {
width: sidebarWidth,
setLeftPanelWidth,
} = useLeftPanel()
- const fetchLatestJanModel = useLatestJanModel(
- (state) => state.fetchLatestJanModel
- )
-
- useEffect(() => {
- fetchLatestJanModel()
- }, [fetchLatestJanModel])
return (
<div className="bg-neutral-50 dark:bg-background size-full relative">
@@ -67,7 +59,7 @@ const AppLayout = () => {
{IS_WINDOWS && <WindowControls />}
{IS_TAURI && (
<div
- className="fixed w-full h-12 z-20 top-0 cursor-grab active:cursor-grabbing hover:bg-primary/10 transition-colors duration-150"
+ className="fixed w-full h-12 z-20 top-0 cursor-grab active:cursor-grabbing"
title="Drag window"
aria-label="Window drag area"
{...(IS_LINUX