mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix variable name
This commit is contained in:
committed by
psychedelicious
parent
4225b3efd0
commit
fd2da6446a
@@ -15,7 +15,7 @@ export const useSaveLayerToAssets = () => {
|
||||
const [uploadImage] = useUploadImageMutation();
|
||||
const autoAddBoardId = useAppSelector(selectAutoAddBoardId);
|
||||
|
||||
const copyLayerToCipboard = useCallback(
|
||||
const saveLayerToAssets = useCallback(
|
||||
async (
|
||||
adapter:
|
||||
| CanvasEntityAdapterRasterLayer
|
||||
@@ -53,5 +53,5 @@ export const useSaveLayerToAssets = () => {
|
||||
[t, autoAddBoardId, uploadImage]
|
||||
);
|
||||
|
||||
return copyLayerToCipboard;
|
||||
return saveLayerToAssets;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user