Skip to content

Commit 5110555

Browse files
committed
Fix DeepScan warnings
1 parent c258aa7 commit 5110555

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utilities/warning/if-one-then-both-required-property.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// This function will deliver an error message to the browser console one property is used but not both that are required. Either use neither or both properties.
77
import warning from 'warning';
88

9-
let ifOneThenBothRequiredProperty = function ifOneThenBothRequiredPropertyFunction() {};
9+
let ifOneThenBothRequiredProperty;
1010

1111
if (process.env.NODE_ENV !== 'production') {
1212
const hasWarned = {};

utilities/warning/one-of-required-property.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// This function will deliver an error message to the browser console when all of the props passed in are undefined (falsey).
77
import warning from 'warning';
88

9-
let oneOfRequired = function oneOfRequiredFunction() {};
9+
let oneOfRequired;
1010

1111
if (process.env.NODE_ENV !== 'production') {
1212
const hasWarned = {};

0 commit comments

Comments
 (0)