Skip to content

Commit

Permalink
fix unit fail
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai committed Feb 5, 2025
1 parent 1276351 commit cf2fa06
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/assets/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export { default as AlertIcon } from './alert.svg';
export { default as CheckIcon } from './check.svg';
export { default as CheckboxIcon } from './checkbox.svg';
export { default as CheckboxCheckedIcon } from './checkboxChecked.svg';
export { default as InfoIcon } from './info.svg';
export { default as PlusSignIcon } from './plusSign.svg';
export { default as RadioIcon } from './radio.svg';
export { default as RadioIconRadioed } from './radioRadioed.svg';
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/src/assets/icons/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/ui/src/components/Notice/Notice.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import Info from 'src/assets/icons/info.svg';
import { InfoIcon } from '../../assets/icons';

import {
CheckIcon,
Expand Down Expand Up @@ -155,7 +155,7 @@ export const Notice = (props: NoticeProps) => {
{...rest}
>
{important && variantMap.error && <ErrorIcon className={classes.icon} />}
{important && variantMap.info && <Info className={classes.icon} />}
{important && variantMap.info && <InfoIcon className={classes.icon} />}
{important && variantMap.success && (
<CheckIcon className={classes.icon} />
)}
Expand Down

0 comments on commit cf2fa06

Please sign in to comment.