(value: string)
| 217 | }, [input, draftStorageKey]); |
| 218 | |
| 219 | const onUpdate = (value: string) => { |
| 220 | if (!dirtyRef.current) { |
| 221 | dirtyRef.current = true; |
| 222 | } |
| 223 | |
| 224 | setInput(value); |
| 225 | if (onValueUpdate) { |
| 226 | onValueUpdate(value); |
| 227 | } |
| 228 | }; |
| 229 | |
| 230 | const { uploadedCount, queueCount, pushUpload, startUploading } = |
| 231 | useSyncUploader({ |
no test coverage detected