Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jomann09 committed May 18, 2023
1 parent ef44d40 commit a5f2081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/buttons/AddAgentButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function AddAgentButton({ agent }) {
if (agents.stored?.filter(a => a.name === agent.name).length === 0) {
setIsAlreadyAdded(false);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const handleAddAgent = () => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/Content.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useNavigate, useSearchParams } from "react-router-dom";
import { Link } from 'react-router-dom';
import { Link as RouterLink } from 'react-router-dom';

import AppBar from '@mui/material/AppBar';
import Box from '@mui/material/Box';
Expand All @@ -24,7 +24,7 @@ function Content(props) {
<Stack direction="row" alignItems="center" spacing={6} sx={{ flexGrow: 1 }}>
<Stack direction="row" alignItems="center" spacing={2}>
<img src="/logo192.png" style={{ width: 30, height: '100%' }} alt="rechecked logo" />
<Typography component={Link} to="/" variant="h6" sx={{
<Typography component={RouterLink} to="/" variant="h6" sx={{
color: 'inherit',
textDecoration: 'none',
}}>
Expand Down

0 comments on commit a5f2081

Please sign in to comment.