Skip to content

Commit

Permalink
loading is what we want, fix tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Aug 29, 2024
1 parent 5a3f2fd commit 6a0e5fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ function MenuDropdown(props: MenuDropdownProps): JSX.Element {
</Tooltip>
)}
{isRunControlLoading && (
<Tooltip tooltipProps={tooltipProps}>{t('rerun_loading')}</Tooltip>
<Tooltip whiteSpace="normal" tooltipProps={tooltipProps}>
{t('rerun_loading')}
</Tooltip>
)}
<MenuItem
data-testid="RecentProtocolRun_OverflowMenu_downloadRunLog"
Expand Down
3 changes: 1 addition & 2 deletions app/src/organisms/ProtocolUpload/hooks/useCloneRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export function useCloneRun(
): UseCloneRunResult {
const host = useHost()
const queryClient = useQueryClient()
const { data: runRecord, isFetching, isRefetching } = useNotifyRunQuery(runId)
const isLoadingRun = isFetching || isRefetching
const { data: runRecord, isLoading: isLoadingRun } = useNotifyRunQuery(runId)
const protocolKey = runRecord?.data.protocolId ?? null
const { createRun, isLoading: isCloning } = useCreateRunMutation({
onSuccess: response => {
Expand Down

0 comments on commit 6a0e5fd

Please sign in to comment.