diff --git a/public/js/schemas.js b/public/js/schemas.js index afdafc8..c15b3d0 100644 --- a/public/js/schemas.js +++ b/public/js/schemas.js @@ -1,3 +1,4 @@ +// TODO: In #5, we'll investigate moving this into src/. NAF.schemas.add({ template: "#avatar-template", components: [ diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index edf28aa..dd7bd53 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -45,8 +45,12 @@ export default class KaraokeNiteDocument extends Document< ].map(script)} - {room && } - {script("/js/schemas.js")} + {room && ( + <> + +