Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
priscilawebdev committed Oct 17, 2024
1 parent a3206d1 commit 9758b19
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions static/app/components/onboardingWizard/taskConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -545,16 +545,18 @@ const PulsingIndicator = styled('div')<{hasQuickStartUpdatesFeature?: boolean}>`
`;

const EventWaitingIndicator = styled(
(
p: React.HTMLAttributes<HTMLDivElement> & {
hasQuickStartUpdatesFeature: boolean;
text?: string;
}
) => {
if (p.hasQuickStartUpdatesFeature) {
({
hasQuickStartUpdatesFeature: quickStartUpdatesFeature,
text,
...p
}: React.HTMLAttributes<HTMLDivElement> & {
hasQuickStartUpdatesFeature: boolean;
text?: string;
}) => {
if (quickStartUpdatesFeature) {
return (
<div {...p}>
<Tooltip title={p.text || t('Waiting for event')}>
<Tooltip title={text || t('Waiting for event')}>
<PulsingIndicator hasQuickStartUpdatesFeature />
</Tooltip>
</div>
Expand All @@ -563,7 +565,7 @@ const EventWaitingIndicator = styled(
return (
<div {...p}>
<PulsingIndicator />
{p.text || t('Waiting for event')}
{text || t('Waiting for event')}
</div>
);
}
Expand Down

0 comments on commit 9758b19

Please sign in to comment.