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]);
|
||||
|
||||
const onInit: OnInit = useCallback((v: ReactFlowInstance) => {
|
||||
if (v) v.fitView();
|
||||
if (v) {
|
||||
v.fitView();
|
||||
}
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user