mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 10:11:31 +00:00
intialize with undefined instead of initial values
This commit is contained in:
1 parent
d81cf44c84
commit
ea37a4c3d6
1 file changed
+1
-1
@@ -28,7 +28,7 @@ const initialValues = {
|
||||
upscale: false,
|
||||
styleStrength: 0.8,
|
||||
};
|
||||
const stagedAiStylizeRequest = signal<AiStylizeSingalType>(initialValues);
|
||||
const stagedAiStylizeRequest = signal<AiStylizeSingalType>();
|
||||
|
||||
const dispatchRequest = (data: AiStylizeSingalType) => {
|
||||
stagedAiStylizeRequest.value = data;
|
||||
|
||||
Reference in new issue
Block a user