slice-machine
slice-machine copied to clipboard
We can still create a slice that starts with a number but that creates error afterwards
Javascript constant names cannot start with numbers. This creates an issue when slice are created with their name starting with a number.
Versions
- slice-machine-ui: 0.4.2
- node: 14
Steps to reproduce
Create a slice starting with a number, e.g. 2Columns
What is expected?
UI should not let users create such slices.
What is actually happening?
UI lets you do so.