diff --git a/gatsby-config.js b/gatsby-config.js index ae8a5d2a..10b81067 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -3,7 +3,7 @@ module.exports = { title: `Skynet`, description: `Skynet is a decentralized file sharing and content distribution protocol.`, author: `Nebulous`, - siteUrl: 'https://siasky.net' + siteUrl: `https://siasky.net` }, plugins: [ `gatsby-plugin-sass`, diff --git a/src/components/CodeExamples/CodeExamples.js b/src/components/CodeExamples/CodeExamples.js index d7573773..c2f28b25 100644 --- a/src/components/CodeExamples/CodeExamples.js +++ b/src/components/CodeExamples/CodeExamples.js @@ -1,15 +1,15 @@ import React, { useState } from "react"; import classNames from "classnames"; import { Light as SyntaxHighlighter } from "react-syntax-highlighter"; -import { javascript, go, python, bash } from 'react-syntax-highlighter/dist/esm/languages/hljs'; +import { javascript, go, python, bash } from "react-syntax-highlighter/dist/esm/languages/hljs"; import Colors from "./Colors"; import * as snippets from "./Code"; import "./CodeExamples.scss"; -SyntaxHighlighter.registerLanguage('javascript', javascript); -SyntaxHighlighter.registerLanguage('go', go); -SyntaxHighlighter.registerLanguage('python', python); -SyntaxHighlighter.registerLanguage('bash', bash); +SyntaxHighlighter.registerLanguage("javascript", javascript); +SyntaxHighlighter.registerLanguage("go", go); +SyntaxHighlighter.registerLanguage("python", python); +SyntaxHighlighter.registerLanguage("bash", bash); export default function CodeExamples() { const [active, setActive] = useState(1); diff --git a/src/components/HomeUpload/HomeUpload.js b/src/components/HomeUpload/HomeUpload.js index 152673a1..9cf4cb63 100644 --- a/src/components/HomeUpload/HomeUpload.js +++ b/src/components/HomeUpload/HomeUpload.js @@ -96,8 +96,8 @@ export default class HomeUpload extends Component {
Paste the link to retrieve your file
diff --git a/src/components/Mailing/Mailing.js b/src/components/Mailing/Mailing.js index 4b4ab788..a857b99f 100644 --- a/src/components/Mailing/Mailing.js +++ b/src/components/Mailing/Mailing.js @@ -20,7 +20,13 @@ const CustomForm = ({ status, message, onValidated, light, id }) => { return (