diff --git a/client/src/components/users/train-dirty-mentor-button.tsx b/client/src/components/users/train-dirty-mentor-button.tsx index d0fa06a6..91008403 100644 --- a/client/src/components/users/train-dirty-mentor-button.tsx +++ b/client/src/components/users/train-dirty-mentor-button.tsx @@ -5,7 +5,7 @@ Permission to use, copy, modify, and distribute this software and its documentat The full terms of this copyright and license should always be found in the root directory of this software deliverable as "license.txt" and if these terms are not found with this software, please contact the USC Stevens Center for the full license. */ import React, { useEffect, useState } from "react"; -import { Icon, IconButton, Theme, Tooltip } from "@mui/material"; +import { IconButton, Theme, Tooltip } from "@mui/material"; import { trainMentor } from "api"; import { useWithConfig } from "store/slices/config/useWithConfig"; import { makeStyles } from "tss-react/mui"; @@ -83,16 +83,24 @@ export function TrainDirtyMentorButton(props: { {trainStatus === JobState.IN_PROGRESS && localDirty ? ( - + - + ) : (trainStatus === JobState.SUCCESS && !localDirty) || !localDirty ? ( - + - + ) : ( {dirtyReason === MentorDirtyReason.ANSWERS_ADDED ? ( diff --git a/client/src/pages/users.tsx b/client/src/pages/users.tsx index 42001e42..1f9f4731 100644 --- a/client/src/pages/users.tsx +++ b/client/src/pages/users.tsx @@ -470,7 +470,7 @@ function UserItem(props: { {mentor.updatedAt ? new Date(mentor.updatedAt).toLocaleString() : "N/A"} - +