auto-component 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.jsx +1 -2
package/package.json
CHANGED
package/src/index.jsx
CHANGED
|
@@ -172,8 +172,7 @@ const AutoComponent = ({ exclusions }) => {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
const copyToClipboard = async () => {
|
|
175
|
-
const text = activeTab === 'response' ? responseData :
|
|
176
|
-
|
|
175
|
+
const text = activeTab === 'response' ? responseData : currentRequest
|
|
177
176
|
await navigator.clipboard.writeText(text)
|
|
178
177
|
}
|
|
179
178
|
|