mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Update Load & Save Icons to FontAwesome
This commit is contained in:
parent
3b61a3abeb
commit
84af35597d
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user