Skip to content

Commit

Permalink
fixed spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Oct 18, 2024
1 parent 818d26f commit 62b7724
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions keycloak/themes/uid2-theme/login/template.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,12 @@
<div id="kc-info" class="${properties.kcSignUpClass!}">
<div id="kc-info-wrapper" class="${properties.kcInfoAreaWrapperClass!}">
<#nested "info">

</div>
</div>
</#if>
<br />
<a id="report-vulnerability" href='https://www.thetradedesk.com/us/trust/report-a-vulnerability' target='_blank'>Report a Vulnerability</a>
</div>

</div>
</body>
</html>
Expand Down
4 changes: 1 addition & 3 deletions src/web/contexts/ParticipantProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ function ParticipantProvider({ children }: Readonly<{ children: ReactNode }>) {
? await GetSelectedParticipant(currentParticipantId)
: await GetUsersDefaultParticipant();
setParticipant(p);
if (p.status === ParticipantStatus.Approved) {
localStorage.setItem('lastSelectedParticipantId', p.id.toString());
}
localStorage.setItem('lastSelectedParticipantId', p.id.toString());
}
} catch (e: unknown) {
if (e instanceof ApiError) throwError(e);
Expand Down

0 comments on commit 62b7724

Please sign in to comment.