Skip to content

Commit

Permalink
front: use ui-icons for remove-via-button
Browse files Browse the repository at this point in the history
Co-authored-by: Clara Ni <[email protected]>
Signed-off-by: Yohh <[email protected]>
  • Loading branch information
Yohh and clarani committed Jan 8, 2025
1 parent 160aedf commit 14be3eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/src/modules/timesStops/TimesStopsInput.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable react/jsx-no-useless-fragment */
import { useCallback, useEffect, useState } from 'react';

import { X } from '@osrd-project/ui-icons';
import { isEqual, isNil } from 'lodash';
import type { Operation } from 'react-datasheet-grid/dist/types';
import { useTranslation } from 'react-i18next';
Expand Down Expand Up @@ -54,7 +55,7 @@ const createClearViaButton = ({
if (isClearBtnShown) {
return (
<button data-testid="remove-via-button" type="button" onClick={removeVia}>
<X size="lg" />
</button>
);
}
Expand Down

0 comments on commit 14be3eb

Please sign in to comment.