Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sasial-dev committed Jul 19, 2024
1 parent 7b7621c commit 07ee08f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions packages/ui/src/components/suggestions/suggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ export function Suggestions() {
return terminalText.parts[terminalText.index];
}, [terminalText]);

const textBoundsParams = useMemo(
() => {
const instance = new Instance("GetTextBoundsParams");
instance.RichText = true;
return instance
},
[],
);
const textBoundsParams = useMemo(() => {
const params = new Instance("GetTextBoundsParams");
params.RichText = true;
return params;
}, []);

// Suggestions
const currentSuggestion = useSelector(selectSuggestion);
Expand Down

0 comments on commit 07ee08f

Please sign in to comment.