File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const Header = () => {
5757 < Stack direction = 'row' alignItems = 'center' >
5858 < Box
5959 component = 'img'
60- src = '/logo.svg'
60+ src = '/tools/ logo.svg'
6161 onClick = { ( ) => {
6262 window . open ( '/' , '_self' ) ;
6363 } }
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export const DialogSearch = (props: { open: boolean; onClose(): void }) => {
146146 ) ;
147147
148148 const onSearch = ( ) => {
149- if ( ! keywords ) {
149+ if ( ! keywords . trim ( ) ) {
150150 return ;
151151 }
152152 onClose ( ) ;
@@ -195,7 +195,7 @@ export const DialogSearch = (props: { open: boolean; onClose(): void }) => {
195195 readOnly : false ,
196196 autoFocus : true ,
197197 onChange : ( e ) => {
198- setKeywords ( e . target . value . trim ( ) ) ;
198+ setKeywords ( e . target . value ) ;
199199 } ,
200200 onKeyDown : ( e ) => {
201201 if ( e . key === 'Enter' ) {
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ export default function App({
7070 width : '1180px' ,
7171 mx : 'auto' ,
7272 height : '100%' ,
73- mt : isProduction ? '64px' : 0 ,
7473 } }
7574 >
7675 < Header />
You can’t perform that action at this time.
0 commit comments