File tree Expand file tree Collapse file tree 1 file changed +36
-17
lines changed Expand file tree Collapse file tree 1 file changed +36
-17
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,43 @@ function Modals() {
109109 const params = useParams ( { strict : false } ) ;
110110
111111 const CreateActorDialog = useDialog . CreateActor . Dialog ;
112+ const FeedbackDialog = useDialog . Feedback . Dialog ;
112113
113114 return (
114- < CreateActorDialog
115- namespace = { params . namespace || "" }
116- dialogProps = { {
117- open : search . modal === "create-actor" ,
118- onOpenChange : ( value ) => {
119- if ( ! value ) {
120- navigate ( {
121- to : "." ,
122- search : ( old ) => ( {
123- ...old ,
124- modal : undefined ,
125- } ) ,
126- } ) ;
127- }
128- } ,
129- } }
130- />
115+ < >
116+ < CreateActorDialog
117+ namespace = { params . namespace || "" }
118+ dialogProps = { {
119+ open : search . modal === "create-actor" ,
120+ onOpenChange : ( value ) => {
121+ if ( ! value ) {
122+ navigate ( {
123+ to : "." ,
124+ search : ( old ) => ( {
125+ ...old ,
126+ modal : undefined ,
127+ } ) ,
128+ } ) ;
129+ }
130+ } ,
131+ } }
132+ />
133+ < FeedbackDialog
134+ dialogProps = { {
135+ open : search . modal === "feedback" ,
136+ onOpenChange : ( value ) => {
137+ if ( ! value ) {
138+ navigate ( {
139+ to : "." ,
140+ search : ( old ) => ( {
141+ ...old ,
142+ modal : undefined ,
143+ } ) ,
144+ } ) ;
145+ }
146+ } ,
147+ } }
148+ />
149+ </ >
131150 ) ;
132151}
You can’t perform that action at this time.
0 commit comments