diff --git a/src/components/shell/Shell.js b/src/components/shell/Shell.js index dc4b3faa3..e9dca171d 100644 --- a/src/components/shell/Shell.js +++ b/src/components/shell/Shell.js @@ -1,12 +1,14 @@ import React from 'react' +import classNames from 'classnames' const Shell = ({ title = 'Shell', - children + children, + className }) => { return ( -
-
Shell
+
+
{ title }
{children}
diff --git a/src/status/BandwidthStatsDisabled.js b/src/status/BandwidthStatsDisabled.js index f618559ad..7c94b5540 100644 --- a/src/status/BandwidthStatsDisabled.js +++ b/src/status/BandwidthStatsDisabled.js @@ -17,8 +17,8 @@ const StatusNotConnected = ({ t }) => {

- - $ ipfs config --json Swarm.DisableBandwidthMetrics false + + $ ipfs config --json Swarm.DisableBandwidthMetrics false ) diff --git a/src/status/StatusNotConnected.js b/src/status/StatusNotConnected.js index a076b75c0..f28a9e8ba 100644 --- a/src/status/StatusNotConnected.js +++ b/src/status/StatusNotConnected.js @@ -13,8 +13,8 @@ const StatusNotConnected = () => {

Start an IPFS daemon in a terminal:

- - $ ipfs daemon + + $ ipfs daemon Initializing daemon... API server listening on /ip4/127.0.0.1/tcp/5001 diff --git a/src/welcome/WelcomePage.js b/src/welcome/WelcomePage.js index 457215549..23eabebcf 100644 --- a/src/welcome/WelcomePage.js +++ b/src/welcome/WelcomePage.js @@ -73,8 +73,8 @@ const ConnectionStatus = ({ t, connected, sameOrigin }) => {

Make sure you configure your IPFS API to allow cross-origin (CORS) requests, running the commands below:

- $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[{addOrigin && `"${origin}", `}"{defaultDomains.join('", "')}"]' - $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]' + $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[{addOrigin && `"${origin}", `}"{defaultDomains.join('", "')}"]' + $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]'
)} @@ -82,7 +82,7 @@ const ConnectionStatus = ({ t, connected, sameOrigin }) => {

Start an IPFS daemon in a terminal:

- $ ipfs daemon + $ ipfs daemon Initializing daemon... API server listening on /ip4/127.0.0.1/tcp/5001