diff --git a/packages/topdown-persea/src/controllers/room/index.js b/packages/topdown-persea/src/controllers/room/index.js index 39de663..3848a10 100644 --- a/packages/topdown-persea/src/controllers/room/index.js +++ b/packages/topdown-persea/src/controllers/room/index.js @@ -6,7 +6,7 @@ import locals from './icon.module.scss'; export default { ...JsonController, - className: locals.icon, + className: locals?.icon, Component, matcher: /\.room\.json$/, };