Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Move arbitrary value check
  • Loading branch information
thecrypticace committed Dec 13, 2021
commit b9b4b2a328f054be8384f548fba9932ba76af0d0
6 changes: 3 additions & 3 deletions src/lib/generateRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,12 @@ function extractArbitraryProperty(classCandidate, context) {
return null
}

let normalized = normalize(value)

if (!isValidArbitraryValue(normalized)) {
if (!isValidArbitraryValue(value)) {
return null
}

let normalized = normalize(value)

return [
[
{ sort: context.arbitraryPropertiesSort, layer: 'utilities' },
Expand Down