diff --git a/src/components/CreateTeam/Step0.tsx b/src/components/CreateTeam/Step0.tsx index 3a72fd564..f09102752 100644 --- a/src/components/CreateTeam/Step0.tsx +++ b/src/components/CreateTeam/Step0.tsx @@ -1,22 +1,22 @@ -import BuildingIcon from '../../icons/building.svg'; -import UsersIcon from '../../icons/users.svg'; import type { TeamDocument } from './CreateTeamForm'; import { httpPut } from '../../lib/http'; import { useState } from 'react'; import { NextButton } from './NextButton'; +import { BuildingIcon } from '../ReactIcons/BuildingIcon.tsx'; +import { UsersIcon } from '../ReactIcons/UsersIcon.tsx'; export const validTeamTypes = [ { value: 'company', label: 'Company', - icon: BuildingIcon.src, + icon: BuildingIcon, description: 'Track the skills and learning progress of the tech team at your company', }, { value: 'study_group', label: 'Study Group', - icon: UsersIcon.src, + icon: UsersIcon, description: 'Invite your friends or course-mates and track your learning progress together', }, @@ -56,7 +56,7 @@ export function Step0(props: Step0Props) { teamSize: team.teamSize, linkedInUrl: team?.links?.linkedIn || undefined, }), - } + }, ); if (error || !response) { @@ -76,21 +76,20 @@ export function Step0(props: Step0Props) { {validTeamTypes.map((validTeamType) => (