Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Sep 13, 2024
1 parent e46ca96 commit 959519e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/HeaderTools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const HeaderTools: React.FC<HeaderToolsProps> = ({ onNotificationsClick }) => {

React.useEffect(() => {
window.isSwitched = !isChecked;
}, [window.isSwitched, isChecked]);
}, [isChecked]);

const handleChange = (_event: React.FormEvent<HTMLInputElement>, checked: boolean) => {
setIsChecked(!checked);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const RegisteredModelListView: React.FC<RegisteredModelListViewProps> = ({

const searchTypes = React.useMemo(() => [SearchType.KEYWORD], []); // TODO Add owner once RHOAIENG-7566 is completed.

const theme = createTheme({ cssVariables: true });
if (unfilteredRegisteredModels.length === 0) {
return (
<EmptyModelRegistryState
Expand Down

0 comments on commit 959519e

Please sign in to comment.