danieldelcore / danieldelcore/trousers
Dynamic expressions that return different values are hashed the same way
Open
🐛 bug
- Dominant language
- TypeScript
- Stars
- 299
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
```
function getGap({ space }: Theme) {
const column = columnGap ? space[columnGap] : space[gap];
const row = rowGap ? space[rowGap] : space[gap];
return `${row} ${column}`;
}
return (
`
display: grid;
grid-template-columns: repeat(${columns}, 1fr);
gap: ${getGap};
width: 100%;
`}
>
{children}
display: grid;
grid-template-columns: repeat(${columns}, 1fr);
gap: ${getGap};
width: 100%;
`}
>
{children}
);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.