Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gettinToasty committed Dec 16, 2024
1 parent 055f91a commit 5d3bdb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components-react/pages/Highlighter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function Highlighter(props: { params?: { view: string } }) {
useEffect(() => {
// check if ai highlighter is activated and we need to update it
async function shouldUpdate() {
if (!HighlighterService.aiHighlighterUpdater) return false;
const versionAvailable = await HighlighterService.aiHighlighterUpdater.isNewVersionAvailable();
return versionAvailable && aiHighlighterEnabled && v.useAiHighlighter;
}
Expand Down

0 comments on commit 5d3bdb9

Please sign in to comment.