Skip to content

Commit 63506ea

Browse files
committed
cleanup: linting + remove comment
1 parent 42bcd5b commit 63506ea

File tree

1 file changed

+5
-5
lines changed
  • clients/search-component/src/TrieveModal

1 file changed

+5
-5
lines changed

clients/search-component/src/TrieveModal/index.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { OpenModalButton } from "./OpenModalButton";
1313
import { ChatProvider } from "../utils/hooks/chat-context";
1414
import r2wc from "@r2wc/react-to-web-component";
1515
import { setClickTriggers } from "../utils/hooks/setClickTriggers";
16-
import { FloatingActionButton } from "./FloatingActionButton"; // Import the FAB
16+
import { FloatingActionButton } from "./FloatingActionButton";
1717

1818
const Modal = () => {
1919
useKeyboardNavigation();
@@ -32,26 +32,26 @@ const Modal = () => {
3232
useEffect(() => {
3333
document.documentElement.style.setProperty(
3434
"--tv-prop-brand-color",
35-
props.brandColor ?? "#CB53EB",
35+
props.brandColor ?? "#CB53EB"
3636
);
3737

3838
if (props.theme === "dark") {
3939
document.documentElement.style.setProperty(
4040
"--tv-prop-scrollbar-thumb-color",
41-
"var(--tv-zinc-700)",
41+
"var(--tv-zinc-700)"
4242
);
4343
} else {
4444
document.documentElement.style.setProperty(
4545
"--tv-prop-scrollbar-thumb-color",
46-
"var(--tv-zinc-300)",
46+
"var(--tv-zinc-300)"
4747
);
4848
}
4949

5050
document.documentElement.style.setProperty(
5151
"--tv-prop-brand-font-family",
5252
props.brandFontFamily ??
5353
`Maven Pro, ui-sans-serif, system-ui, sans-serif,
54-
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"`,
54+
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"`
5555
);
5656
}, [props.brandColor, props.brandFontFamily]);
5757

0 commit comments

Comments
 (0)