Skip to content

Commit

Permalink
Merge pull request spacetelescope#2717 from kecnry/fix_add_style
Browse files Browse the repository at this point in the history
update add_style to account for style registry instances
  • Loading branch information
pllim authored Feb 20, 2024
2 parents a74e013 + 06f8137 commit f244b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdaviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def _add_style(self, path):
path : str or tuple
Path to a ``.vue`` file containing style rules to inject into the app.
"""
style_registry.instance.add(path)
style_registry.add(path)

def _on_snackbar_message(self, msg):
"""
Expand Down

0 comments on commit f244b72

Please sign in to comment.