Tracs validation added. A warning is thrown if the input contains a video strem, but the requested output format doesn't support it
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { create } from 'zustand'
|
||||
|
||||
interface ValidationState {
|
||||
formatError: string | null
|
||||
setFormatError: (error: string | null) => void
|
||||
}
|
||||
|
||||
export const useValidationStore = create<ValidationState>((set) => ({
|
||||
formatError: null,
|
||||
setFormatError: (error) => set({ formatError: error }),
|
||||
}))
|
||||
Reference in New Issue
Block a user