Browse Source

fix: replace react-particles-js package with react-tsparticles

develop
Apostolos Fanakis 3 years ago
parent
commit
0f105d12cf
Signed by: Apostolof GPG Key ID: 8600B4C4163B3269
  1. 2
      packages/concordia-app/package.json
  2. 2
      packages/concordia-app/src/layouts/MainLayout/index.jsx
  3. 2
      packages/concordia-app/src/layouts/RegisterLayout/index.jsx
  4. 1
      packages/concordia-pinner/src/utils/orbitUtils.js
  5. 6427
      yarn.lock

2
packages/concordia-app/package.json

@ -45,12 +45,12 @@
"react-dom": "~16.13.1",
"react-i18next": "^11.7.3",
"react-markdown": "^5.0.3",
"react-particles-js": "^3.4.0",
"react-redux": "~7.2.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "~3.4.3",
"react-timeago": "~5.2.0",
"react-tsparticles": "^1.39.2",
"redux-saga": "~1.1.3",
"semantic-ui-css": "~2.4.1",
"semantic-ui-react": "~2.0.3",

2
packages/concordia-app/src/layouts/MainLayout/index.jsx

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Grid } from 'semantic-ui-react';
import Particles from 'react-particles-js';
import Particles from 'react-tsparticles';
import particlesOptions from '../../assets/particles';
import MainLayoutMenu from './MainLayoutMenu';
import MainLayoutConcordiaStatus from './MainLayoutConcordiaStatus';

2
packages/concordia-app/src/layouts/RegisterLayout/index.jsx

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import Particles from 'react-particles-js';
import Particles from 'react-tsparticles';
import particlesOptions from '../../assets/particles';
import './styles.css';

1
packages/concordia-pinner/src/utils/orbitUtils.js

@ -24,6 +24,7 @@ export const createOrbitInstance = async (ipfs, contractAddress) => {
EthereumContractIdentityProvider.setWeb3(new Web3()); // We need a fully-featured new Web3 for signature verification
EthereumContractIdentityProvider.setContractAddress(contractAddress);
EthereumContractIdentityProvider.setStoreAuthDataLocally(true);
const ORBIT_DIRECTORY = process.env.ORBIT_DIRECTORY || ORBIT_DIRECTORY_DEFAULT;
logger.info(`Setting up OrbitDB in directory: ${ORBIT_DIRECTORY}`);

6427
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save