Closed damidina closed 2 years ago
Looks like it only breaks when deleting the last color in the scale. @pavelkeyzik I think this is related to the bug your reported and fixed: https://github.com/primer/prism/issues/10
@pavelkeyzik Could you disable the "Delete color" button if the color is the last color in the scale?
@colebemis I'll take a look in few hours. Thanks for reporting @damidina ❤️
@damidina The issue should be resolved. You can try to reproduce it again. If you're happy with the result, you can close the issue. If not, just let us know 😊
Describe the bug When I select a scale and delete a color the page goes blank
To Reproduce Steps to reproduce the behavior:
Expected behavior Not exactly sure but the page probably shouldn't go blank
Screenshots
Environment Chrome Version 102.0.5005.115 (Official Build) (x86_64) Mac OS Catalina - Version 10.15.7
Additional context Posted a video here: https://twitter.com/DamiDina/status/1539291589847171073