Skip to content

Commit 195a042

Browse files
committed
GET requests do not have data
1 parent 91dd6a5 commit 195a042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Request.contextType = AxiosContext
116116
Request.defaultProps = {
117117
url: undefined,
118118
method: 'get',
119-
data: {},
119+
data: undefined,
120120
config: {},
121121
debounce: 200,
122122
debounceImmediate: true,

0 commit comments

Comments
 (0)