File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/views/sis/course-search Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class CourseSearchView extends React.Component<Props, State> {
7575 // if no terms are cached, and the user didn't push the button,
7676 // then don't download anything.
7777 this . setState ( ( ) => ( { mode : 'pending' } ) )
78- return ;
78+ return
7979 }
8080
8181 this . setState ( ( ) => ( { mode : 'loading' } ) )
@@ -102,10 +102,10 @@ class CourseSearchView extends React.Component<Props, State> {
102102 }
103103
104104 handleSearchSubmit = ( ) = > {
105- this . setState ( ( ) => ( { isSearchbarActive : false } ) )
106105 this . props . navigation . push ( 'CourseSearchResultsView' , {
107106 initialQuery : this . state . typedQuery ,
108107 } )
108+ this . setState ( ( ) => ( { isSearchbarActive : false , typedQuery : '' } ) )
109109 }
110110
111111 handleSearchCancel = ( ) = > {
You can’t perform that action at this time.
0 commit comments