diff --git a/source/options/components/editor.ts b/source/options/components/editor.ts index 223a7c3..c817960 100644 --- a/source/options/components/editor.ts +++ b/source/options/components/editor.ts @@ -74,7 +74,14 @@ export default class Editor extends Component { }; parseRedirect = (): Redirect => { - const redirect = parseRedirect(this.state); + const redirect = parseRedirect({ + enabled: this.state.enabled, + id: this.state.id, + matcherType: this.state.matcherType, + matcherValue: this.state.matcherValue, + redirectType: this.state.redirectType, + redirectValue: this.state.redirectValue, + }); if (redirect === undefined) { throw new Error('Failed to parse redirect'); }