mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-31 02:07:51 +01:00
clean up state management
This commit is contained in:
9
client/src/scripts/howToUse.js
Normal file
9
client/src/scripts/howToUse.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { injectNavbar } from "../modules/Navbar.js";
|
||||
|
||||
const howToUse = () => { injectNavbar(); };
|
||||
|
||||
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
|
||||
module.exports = howToUse;
|
||||
} else {
|
||||
howToUse();
|
||||
}
|
||||
Reference in New Issue
Block a user