Ensure space is number

This commit is contained in:
Justin 2022-10-04 15:17:26 -04:00
parent c49aec2ae0
commit c960ad9d33

View file

@ -17,7 +17,7 @@ const alignItemsOptions = {
};
const spaces = {
'0.5': 'space-x-0.5',
[0.5]: 'space-x-0.5',
1: 'space-x-1',
1.5: 'space-x-1.5',
2: 'space-x-2',