dowellscalemanish
Advanced tools
Comparing version 1.0.2 to 1.0.4
{ | ||
"name": "dowellscalemanish", | ||
"version": "1.0.2", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import React, { useState } from 'react'; | ||
import axios from 'axios'; | ||
import './App.css'; // Import the CSS file for Scale component | ||
import './App.css'; | ||
@@ -14,3 +14,2 @@ function App() { | ||
try { | ||
// Make an HTTP GET request to the server | ||
const response = await axios.get(`https://100035.pythonanywhere.com/addons/create-response/?workspace_id=653637a4950d738c6249aa9a&username=CustomerSupport&scale_id=6603f796d3a4445b4125dcc1&item=${index}`); | ||
@@ -29,4 +28,3 @@ console.log(response); | ||
<h2 className="heading"> | ||
On a scale of 0-10, how likely are you to recommend the product to a | ||
friend or a colleague? | ||
On a scale of 0-10, how likely are you to recommend the product to a friend or a colleague? | ||
</h2> | ||
@@ -33,0 +31,0 @@ {responseReceived ? ( |
@@ -5,8 +5,8 @@ const path = require('path'); | ||
module.exports = { | ||
mode: 'development', // or 'production' | ||
entry: path.join(__dirname, 'src', 'index.js'), | ||
mode: 'development', | ||
entry: './src/index.js', | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: 'bundle.js', | ||
publicPath: '/', // Add this line | ||
publicPath: '/', | ||
}, | ||
@@ -13,0 +13,0 @@ plugins: [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190975
175