fix: Update Sync icon to FontAwesom

This commit is contained in:
blessedcoolant 2023-07-12 13:31:24 +12:00
parent cd11d08d74
commit 222d8b05a6
2 changed files with 5 additions and 4 deletions

View File

@ -70,7 +70,9 @@ export const Flow = () => {
}, [dispatch]);
const onInit: OnInit = useCallback((v: ReactFlowInstance) => {
if (v) v.fitView();
if (v) {
v.fitView();
}
}, []);
return (

View File

@ -2,7 +2,7 @@ import { useAppDispatch } from 'app/store/storeHooks';
import IAIIconButton from 'common/components/IAIIconButton';
import { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { BiRefresh } from 'react-icons/bi';
import { FaSyncAlt } from 'react-icons/fa';
import { receivedOpenAPISchema } from 'services/api/thunks/schema';
export default function ReloadSchemaButton() {
@ -15,8 +15,7 @@ export default function ReloadSchemaButton() {
return (
<IAIIconButton
icon={<BiRefresh />}
fontSize={24}
icon={<FaSyncAlt />}
tooltip={t('nodes.reloadSchema')}
aria-label={t('nodes.reloadSchema')}
onClick={handleReloadSchema}