Skip to content

Commit deb5a4f

Browse files
committed
add back comments
1 parent 2aa9fb9 commit deb5a4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

static/app/views/onboarding/components/firstEventFooter.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function FirstEventFooter({
4545
);
4646

4747
const firstIssue =
48-
project.firstEvent && issues
48+
!!project.firstEvent && issues
4949
? issues.find((issue: Group) => issue.firstSeen === project.firstEvent)
5050
: undefined;
5151

@@ -95,9 +95,11 @@ export function FirstEventFooter({
9595
</AnimatedText>
9696
</StatusWrapper>
9797
<OnboardingButtonBar>
98+
{/* if hasn't sent first event, allow skipping. if last, no secondary cta */}
9899
{!project.firstEvent && !isLast ? (
99100
<Button onClick={onClickSetupLater}>{t('Next Platform')}</Button>
100101
) : null}
102+
{/* if hasn't sent first event, allow creation of sample error */}
101103
{project.firstEvent ? (
102104
<LinkButton
103105
onClick={() =>

0 commit comments

Comments
 (0)