From d172b91143d816570cf5dc14f8bef11e393fcc8a Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 5 Apr 2022 11:00:01 +0300 Subject: [PATCH] UI: Replace " with ' in particle js code --- .../ui-components/ParticleBackground.js | 2 +- .../ParticleBackgroundParams.js | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/ParticleBackground.js b/monkey/monkey_island/cc/ui/src/components/ui-components/ParticleBackground.js index 97407293a..f88597b60 100644 --- a/monkey/monkey_island/cc/ui/src/components/ui-components/ParticleBackground.js +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/ParticleBackground.js @@ -1,4 +1,4 @@ -import Particles from "react-tsparticles"; +import Particles from 'react-tsparticles'; import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams'; import React from 'react'; diff --git a/monkey/monkey_island/cc/ui/src/styles/components/particle-component/ParticleBackgroundParams.js b/monkey/monkey_island/cc/ui/src/styles/components/particle-component/ParticleBackgroundParams.js index 0eb3d63d0..10453de0d 100644 --- a/monkey/monkey_island/cc/ui/src/styles/components/particle-component/ParticleBackgroundParams.js +++ b/monkey/monkey_island/cc/ui/src/styles/components/particle-component/ParticleBackgroundParams.js @@ -1,20 +1,20 @@ export const particleParams = { - "fps_limit": 60, - "particles": { - "color": {"value": "#646464"}, - "links": {"color": "#555555", "distance": 150, "enable": true, "opacity": 0.4, "width": 1}, - "move": { - "bounce": false, - "direction": "none", - "enable": true, - "outMode": "out", - "random": false, - "speed": 2, - "straight": false + 'fps_limit': 60, + 'particles': { + 'color': {'value': '#646464'}, + 'links': {'color': '#555555', 'distance': 150, 'enable': true, 'opacity': 0.4, 'width': 1}, + 'move': { + 'bounce': false, + 'direction': 'none', + 'enable': true, + 'outMode': 'out', + 'random': false, + 'speed': 2, + 'straight': false }, - "number": {"density": {"enable": true, "area": 800}, "value": 50}, - "shape": {"type": "circle"}, - "size": {"value": 3} + 'number': {'density': {'enable': true, 'area': 800}, 'value': 50}, + 'shape': {'type': 'circle'}, + 'size': {'value': 3} }, - "detectRetina": true + 'detectRetina': true }