Settings: workaround for the crash on WebKit
The ripple may be undefined on mount
This commit is contained in:
		
							parent
							
								
									7cc9753d30
								
							
						
					
					
						commit
						086c692dff
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -50,7 +50,7 @@ const Settings: ParentComponent = () => {
 | 
				
			||||||
      topbar={
 | 
					      topbar={
 | 
				
			||||||
        <AppBar position="static">
 | 
					        <AppBar position="static">
 | 
				
			||||||
          <Toolbar variant="dense" sx={{paddingTop: "var(--safe-area-inset-top, 0px)"}}>
 | 
					          <Toolbar variant="dense" sx={{paddingTop: "var(--safe-area-inset-top, 0px)"}}>
 | 
				
			||||||
            <IconButton color="inherit" onClick={[navigate, -1]}>
 | 
					            <IconButton color="inherit" onClick={[navigate, -1]} disableRipple>
 | 
				
			||||||
              <CloseIcon />
 | 
					              <CloseIcon />
 | 
				
			||||||
            </IconButton>
 | 
					            </IconButton>
 | 
				
			||||||
            <Title>Settings</Title>
 | 
					            <Title>Settings</Title>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue