fix: Update Load & Save Icons to FontAwesome

This commit is contained in:
blessedcoolant 2023-07-12 13:58:14 +12:00
parent 3b61a3abeb
commit 84af35597d
2 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,7 @@ import { loadFileEdges, loadFileNodes } from 'features/nodes/store/nodesSlice';
import { addToast } from 'features/system/store/systemSlice';
import { memo, useCallback, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import { BiUpload } from 'react-icons/bi';
import { FaUpload } from 'react-icons/fa';
import { useReactFlow } from 'reactflow';
const LoadNodesButton = () => {
@ -66,8 +66,7 @@ const LoadNodesButton = () => {
>
{(props) => (
<IAIIconButton
icon={<BiUpload />}
fontSize={20}
icon={<FaUpload />}
tooltip={t('nodes.loadNodes')}
aria-label={t('nodes.loadNodes')}
{...props}

View File

@ -3,7 +3,7 @@ import { useAppSelector } from 'app/store/storeHooks';
import IAIIconButton from 'common/components/IAIIconButton';
import { memo, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { BiSave } from 'react-icons/bi';
import { FaSave } from 'react-icons/fa';
const SaveNodesButton = () => {
const { t } = useTranslation();
@ -27,8 +27,8 @@ const SaveNodesButton = () => {
return (
<IAIIconButton
icon={<BiSave />}
fontSize={20}
icon={<FaSave />}
fontSize={18}
tooltip={t('nodes.saveNodes')}
aria-label={t('nodes.saveNodes')}
onClick={saveEditorToJSON}