Skip to content

Commit

Permalink
fix: wrong passStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Oct 10, 2022
1 parent 125a91f commit a7e2b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/store/src/patterns/patternMatchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ const makePatternKit = () => {
[requiredPatt, optionalPatt = {}, restPatt = MM.any()],
compress,
) => {
if (!checkKind(specimen, 'copyArray', identChecker)) {
if (!checkKind(specimen, 'copyRecord', identChecker)) {
return undefined;
}
const { requiredSpecimen, optionalSpecimen, restSpecimen } =
Expand Down

0 comments on commit a7e2b86

Please sign in to comment.