Ensure space is number
This commit is contained in:
parent
c960ad9d33
commit
1c55e60055
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@ import React from 'react';
|
|||
|
||||
const spaces = {
|
||||
0: 'space-y-0',
|
||||
'0.5': 'space-y-0.5',
|
||||
[0.5]: 'space-y-0.5',
|
||||
1: 'space-y-1',
|
||||
'1.5': 'space-y-1.5',
|
||||
[1.5]: 'space-y-1.5',
|
||||
2: 'space-y-2',
|
||||
3: 'space-y-3',
|
||||
4: 'space-y-4',
|
||||
|
|
Loading…
Reference in a new issue