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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.jsx +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-component",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "main": "src/index.jsx",
5
5
  "peerDependencies": {
6
6
  "react": "^18.2.0",
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