From 145ff8e7161049b18b5856148fb26c9a7168300c Mon Sep 17 00:00:00 2001 From: M M Date: Sat, 11 May 2024 11:03:38 -0700 Subject: [PATCH] Addressed the comments. --- Client/src/Components/Search/index.jsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Client/src/Components/Search/index.jsx b/Client/src/Components/Search/index.jsx index 770db3309..391b95c02 100644 --- a/Client/src/Components/Search/index.jsx +++ b/Client/src/Components/Search/index.jsx @@ -2,6 +2,7 @@ import Autocomplete from '@mui/material/Autocomplete'; import TextField from '@mui/material/TextField'; import Chip from '@mui/material/Chip'; import Box from '@mui/material/Box'; +import { useTheme } from "@mui/material"; const teamMembers = [ { title: 'John Doe'}, @@ -9,9 +10,16 @@ const teamMembers = [ { title: 'Alex Johnson'}, ]; -export default function Search() { +/** + * @component + * @returns {JSX.Element} + */ + +export default function Search() + { + const theme = useTheme(); return ( - {/* Add padding to the container */} + {/* Add padding to the container */} )} renderTags={(value, getTagProps) => - value.map((option, index) => ( + value.map((option) => ( )) }