ReferenceError in `drawerWidth` Theme Modifier preventing component imports
Closed this issue Β· 2 comments
Current Behavior
While working on #385 I came across a ReferenceError that is thrown when trying to import the Drawer component from the base folder.
The drawerWidth
property being passed in the theme folder's drawer.modifier.ts
file is causing this issue.
Expected Behavior
The Drawer component should be able to be imported without problems.
#524 (comment)
As discussed in this comment, I tried removing the property, and then it works fine and is imported without any problems.
Screenshots/Logs
Environment
- Host OS: Mac Linux Windows
- Platform: Docker or Kubernetes
- Meshery Server Version: stable-v
- Meshery Client Version: stable-v
Contributor Guides and Resources
- π Meshery Build & Release Strategy
- π Instructions for contributing to documentation
- π¨ Wireframes and designs for Sistent site in Figma (open invite)
- ππΎππΌ Questions: Layer5 Discussion Forum and Layer5 Community Slack
@dragon-slayer875 Thank you for bringing up this issue.
I removed the drawerWidth
as to relax the style requirement for defining the Drawer and AppBar. Here is the commit that I made to remove them: 93377f0
This shouldn't be an issue at the moment but I will test it again to make sure that the change have gone through in the latest sistent
release.
Sure @nebula-aac!. Thanks for resolving it!