File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 2525 const { key } = parsePath ();
2626 if (! key ) {
2727 setError ({
28- status: 404 ,
29- title: " Question not found " ,
28+ status: 400 ,
29+ title: " Question key is missing. Please ask for a valid link to the feedback form. " ,
3030 });
3131 return ;
3232 }
8080 {:else if error }
8181 <Error {error } />
8282 {/if }
83- {#if question && view === " form" }
84- <Form {question } />
85- {:else if question && view === " summary" }
86- <Summary {question } />
87- {:else if question && view === " share" }
88- <Share {question } />
89- {/if }
83+
9084 {#if question }
85+ {#if view === " form" }
86+ <Form {question } />
87+ {:else if view === " summary" }
88+ <Summary {question } />
89+ {:else if view === " share" }
90+ <Share {question } />
91+ {/if }
9192 <div class =" links" >
9293 {#if view !== " form" }
9394 <Link target ={` /${question .key } ` }>Submit an answer</Link >
You can’t perform that action at this time.
0 commit comments