Skip to content

Commit

Permalink
Update to button
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed Jul 18, 2023
1 parent b807174 commit 0ceb6a6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ui/components/institutional/jwt-url-form/jwt-url-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
FlexDirection,
TextVariant,
} from '../../../helpers/constants/design-system';
import { Box, Button, Text } from '../../component-library';
import { BUTTON_VARIANT, Box, Button, Text } from '../../component-library';
import JwtDropdown from '../jwt-dropdown';

const JwtUrlForm = (props) => {
Expand Down Expand Up @@ -53,14 +53,13 @@ const JwtUrlForm = (props) => {
<Text>{t('or')}</Text>
<Button
data-testid="addNewToken-btn"
type="secondary"
medium="true"
variant={BUTTON_VARIANT.SECONDARY}
onClick={() => {
props.onJwtChange('');
setAddNewTokenClicked(true);
}}
>
<Text>{t('addNewToken')}</Text>
{t('addNewToken')}
</Button>
</Box>
)}
Expand Down

0 comments on commit 0ceb6a6

Please sign in to comment.