[Glitch] Hide floating action button on search and getting started pages
Port 30af4ee65ff43c17d6f7b1b64d6bf1d8699f37c8 to glitch-soc
This commit is contained in:
		
							parent
							
								
									9b5810b3e9
								
							
						
					
					
						commit
						e9060b04d4
					
				@ -30,7 +30,7 @@ const componentMap = {
 | 
				
			|||||||
  'LIST': ListTimeline,
 | 
					  'LIST': ListTimeline,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const shouldHideFAB = path => path.match(/^\/statuses\//);
 | 
					const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started/);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const messages = defineMessages({
 | 
					const messages = defineMessages({
 | 
				
			||||||
  publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },
 | 
					  publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user