Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: manual action #1867

Merged
merged 21 commits into from
Nov 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update
  • Loading branch information
hyoban committed Nov 27, 2024
commit 96c309e94be6b8ed6eddbf726a941675c3da1e8c
6 changes: 1 addition & 5 deletions apps/renderer/src/components/ui/markdown/HTML.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@ const HTMLImpl = <A extends keyof JSX.IntrinsicElements = "div">(props: HTMLProp
const showAITranslation = useShowAITranslation()

useEffect(() => {
if (!refElement) {
return
}

translate?.(refElement)
}, [translate, refElement, showAITranslation])
}, [refElement, showAITranslation, translate])

const markdownElement = useMemo(
() =>
Expand Down
Loading