✨ Adds helper function to enable furniture hiding
This commit is contained in:
6
src/utils/MiscHelpers.js
Normal file
6
src/utils/MiscHelpers.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import { hideFurnitureOn } from '@/utils/defaults';
|
||||
|
||||
/* Returns false if page furniture should be hidden on said route */
|
||||
export const shouldBeVisible = (routeName) => !hideFurnitureOn.includes(routeName);
|
||||
|
||||
export const x = () => null;
|
||||
Reference in New Issue
Block a user