From ee8839021e0541c0978aaea35611b207740e1d50 Mon Sep 17 00:00:00 2001 From: Michelle Li Date: Tue, 26 Dec 2023 16:49:58 -0500 Subject: [PATCH] fix css --- client/src/modules/Profile/Component/Profile.tsx | 3 +-- client/src/modules/SearchBar/Components/SearchBar.tsx | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/client/src/modules/Profile/Component/Profile.tsx b/client/src/modules/Profile/Component/Profile.tsx index ebee12f22..b11d397ef 100644 --- a/client/src/modules/Profile/Component/Profile.tsx +++ b/client/src/modules/Profile/Component/Profile.tsx @@ -7,8 +7,7 @@ import { Review as ReviewType } from 'common' import Navbar from '../../Globals/Navbar' -import CourseReviews from '../../Course/Components/CourseReviews' -import { UserInfo } from './UserInfo' +import ProfileCard from './ProfileCard' import { NoReviews } from './NoReviews' import { PendingReviews } from './PendingReviews' diff --git a/client/src/modules/SearchBar/Components/SearchBar.tsx b/client/src/modules/SearchBar/Components/SearchBar.tsx index 14762e05e..c7487ba6a 100644 --- a/client/src/modules/SearchBar/Components/SearchBar.tsx +++ b/client/src/modules/SearchBar/Components/SearchBar.tsx @@ -172,8 +172,6 @@ export const SearchBar = ({ // Used for "enter" key on 'Search: "query" ' button for exact search // Sends user to /results/keyword/query+query if (index === 0 && enter === 1) { - setInitState() - return (