diff --git a/web/containers/Layout/RibbonPanel/index.tsx b/web/containers/Layout/RibbonPanel/index.tsx
index ee00b2237..13116dc16 100644
--- a/web/containers/Layout/RibbonPanel/index.tsx
+++ b/web/containers/Layout/RibbonPanel/index.tsx
@@ -1,5 +1,4 @@
import { Tooltip, useMediaQuery } from '@janhq/joi'
-import { motion as m } from 'framer-motion'
import { useAtom, useAtomValue, useSetAtom } from 'jotai'
import {
MessageCircleIcon,
@@ -109,19 +108,13 @@ export default function RibbonPanel() {
{menu.icon}
- {isActive && (
-
- )}
}
content={
diff --git a/web/screens/Settings/SettingLeftPanel/SettingItem/index.tsx b/web/screens/Settings/SettingLeftPanel/SettingItem/index.tsx
index 505a2cf40..b8c1994c5 100644
--- a/web/screens/Settings/SettingLeftPanel/SettingItem/index.tsx
+++ b/web/screens/Settings/SettingLeftPanel/SettingItem/index.tsx
@@ -1,6 +1,5 @@
import { useCallback } from 'react'
-import { motion as m } from 'framer-motion'
import { useAtom } from 'jotai'
import { twMerge } from 'tailwind-merge'
@@ -22,23 +21,20 @@ const SettingItem = ({ name, setting }: Props) => {
return (
{name}
- {isActive && (
-
- )}
)
}
diff --git a/web/screens/Thread/ThreadLeftPanel/index.tsx b/web/screens/Thread/ThreadLeftPanel/index.tsx
index 67bc5db0c..aca21c8a2 100644
--- a/web/screens/Thread/ThreadLeftPanel/index.tsx
+++ b/web/screens/Thread/ThreadLeftPanel/index.tsx
@@ -3,7 +3,6 @@ import { useCallback, useEffect, useState } from 'react'
import { Thread } from '@janhq/core'
import { Button } from '@janhq/joi'
-import { motion as m } from 'framer-motion'
import { useAtomValue, useSetAtom } from 'jotai'
import {
GalleryHorizontalEndIcon,
@@ -118,7 +117,9 @@ const ThreadLeftPanel = () => {
{
onThreadClick(thread)
@@ -208,12 +209,6 @@ const ThreadLeftPanel = () => {
- {activeThreadId === thread.id && (
-
- )}
))}