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 { addToast } from 'features/system/store/systemSlice';
|
||||||
import { memo, useCallback, useRef } from 'react';
|
import { memo, useCallback, useRef } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { BiUpload } from 'react-icons/bi';
|
import { FaUpload } from 'react-icons/fa';
|
||||||
import { useReactFlow } from 'reactflow';
|
import { useReactFlow } from 'reactflow';
|
||||||
|
|
||||||
const LoadNodesButton = () => {
|
const LoadNodesButton = () => {
|
||||||
@ -66,8 +66,7 @@ const LoadNodesButton = () => {
|
|||||||
>
|
>
|
||||||
{(props) => (
|
{(props) => (
|
||||||
<IAIIconButton
|
<IAIIconButton
|
||||||
icon={<BiUpload />}
|
icon={<FaUpload />}
|
||||||
fontSize={20}
|
|
||||||
tooltip={t('nodes.loadNodes')}
|
tooltip={t('nodes.loadNodes')}
|
||||||
aria-label={t('nodes.loadNodes')}
|
aria-label={t('nodes.loadNodes')}
|
||||||
{...props}
|
{...props}
|
||||||
|
@ -3,7 +3,7 @@ import { useAppSelector } from 'app/store/storeHooks';
|
|||||||
import IAIIconButton from 'common/components/IAIIconButton';
|
import IAIIconButton from 'common/components/IAIIconButton';
|
||||||
import { memo, useCallback } from 'react';
|
import { memo, useCallback } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { BiSave } from 'react-icons/bi';
|
import { FaSave } from 'react-icons/fa';
|
||||||
|
|
||||||
const SaveNodesButton = () => {
|
const SaveNodesButton = () => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
@ -27,8 +27,8 @@ const SaveNodesButton = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<IAIIconButton
|
<IAIIconButton
|
||||||
icon={<BiSave />}
|
icon={<FaSave />}
|
||||||
fontSize={20}
|
fontSize={18}
|
||||||
tooltip={t('nodes.saveNodes')}
|
tooltip={t('nodes.saveNodes')}
|
||||||
aria-label={t('nodes.saveNodes')}
|
aria-label={t('nodes.saveNodes')}
|
||||||
onClick={saveEditorToJSON}
|
onClick={saveEditorToJSON}
|
||||||
|
Loading…
Reference in New Issue
Block a user