Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/frontend/src/components/content/HomeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const HomeInput: React.FC<HomeInputProps> = ({ selectedTeam }) => {
const location = useLocation(); // ✅ location.state used to control focus
const { showToast, dismissToast } = useInlineToaster();

// Check if the selected team is the Legal Contract Review Team
const isLegalTeam = selectedTeam?.name
// Check if the selected team is the Contract Review Team
const isContractReviewTeam = selectedTeam?.name
?.toLowerCase()
.includes("legal contract");
.includes("contract review");

useEffect(() => {
if (location.state?.focusInput) {
Expand Down Expand Up @@ -195,7 +195,7 @@ const HomeInput: React.FC<HomeInputProps> = ({ selectedTeam }) => {
</div>

{/* Legal Disclaimer for Legal Contract Review Team */}
{isLegalTeam && (
{isContractReviewTeam && (
<div
style={{
color: "var(--colorNeutralForeground3)",
Expand Down
Loading