Refactor alerts to TypeScript, remove react-notification dependency (#34239)
		
	This commit is contained in:
		
					parent
					
						
							
								e1dbbf6c9d
							
						
					
				
			
			
				commit
				
					
						94d71c992e
					
				
			
		
					 14 changed files with 171 additions and 121 deletions
				
			
		|  | @ -15,6 +15,7 @@ import { focusApp, unfocusApp, changeLayout } from 'mastodon/actions/app'; | |||
| import { synchronouslySubmitMarkers, submitMarkers, fetchMarkers } from 'mastodon/actions/markers'; | ||||
| import { fetchNotifications } from 'mastodon/actions/notification_groups'; | ||||
| import { INTRODUCTION_VERSION } from 'mastodon/actions/onboarding'; | ||||
| import { AlertsController } from 'mastodon/components/alerts_controller'; | ||||
| import { HoverCardController } from 'mastodon/components/hover_card_controller'; | ||||
| import { PictureInPicture } from 'mastodon/features/picture_in_picture'; | ||||
| import { identityContextPropShape, withIdentity } from 'mastodon/identity_context'; | ||||
|  | @ -33,7 +34,6 @@ import UploadArea from './components/upload_area'; | |||
| import ColumnsAreaContainer from './containers/columns_area_container'; | ||||
| import LoadingBarContainer from './containers/loading_bar_container'; | ||||
| import ModalContainer from './containers/modal_container'; | ||||
| import NotificationsContainer from './containers/notifications_container'; | ||||
| import { | ||||
|   Compose, | ||||
|   Status, | ||||
|  | @ -607,7 +607,7 @@ class UI extends PureComponent { | |||
|           </SwitchingColumnsArea> | ||||
| 
 | ||||
|           {layout !== 'mobile' && <PictureInPicture />} | ||||
|           <NotificationsContainer /> | ||||
|           <AlertsController /> | ||||
|           {!disableHoverCards && <HoverCardController />} | ||||
|           <LoadingBarContainer className='loading-bar' /> | ||||
|           <ModalContainer /> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue