mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Update Sync icon to FontAwesom
This commit is contained in:
parent
cd11d08d74
commit
222d8b05a6
@ -70,7 +70,9 @@ export const Flow = () => {
|
|||||||
}, [dispatch]);
|
}, [dispatch]);
|
||||||
|
|
||||||
const onInit: OnInit = useCallback((v: ReactFlowInstance) => {
|
const onInit: OnInit = useCallback((v: ReactFlowInstance) => {
|
||||||
if (v) v.fitView();
|
if (v) {
|
||||||
|
v.fitView();
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -2,7 +2,7 @@ import { useAppDispatch } from 'app/store/storeHooks';
|
|||||||
import IAIIconButton from 'common/components/IAIIconButton';
|
import IAIIconButton from 'common/components/IAIIconButton';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { BiRefresh } from 'react-icons/bi';
|
import { FaSyncAlt } from 'react-icons/fa';
|
||||||
import { receivedOpenAPISchema } from 'services/api/thunks/schema';
|
import { receivedOpenAPISchema } from 'services/api/thunks/schema';
|
||||||
|
|
||||||
export default function ReloadSchemaButton() {
|
export default function ReloadSchemaButton() {
|
||||||
@ -15,8 +15,7 @@ export default function ReloadSchemaButton() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<IAIIconButton
|
<IAIIconButton
|
||||||
icon={<BiRefresh />}
|
icon={<FaSyncAlt />}
|
||||||
fontSize={24}
|
|
||||||
tooltip={t('nodes.reloadSchema')}
|
tooltip={t('nodes.reloadSchema')}
|
||||||
aria-label={t('nodes.reloadSchema')}
|
aria-label={t('nodes.reloadSchema')}
|
||||||
onClick={handleReloadSchema}
|
onClick={handleReloadSchema}
|
||||||
|
Loading…
Reference in New Issue
Block a user