diff --git a/src/file/File.present.js b/src/file/File.present.js index ad97ae17aa..5c84be0346 100644 --- a/src/file/File.present.js +++ b/src/file/File.present.js @@ -16,13 +16,11 @@ * limitations under the License. */ -import React from "react"; +import React, { useState } from "react"; import NotebookPreview from "@nteract/notebook-render"; -// Do not import the style because this does not work after webpack bundles things for production mode. -// Instead define the style below -//import './notebook.css' import { Card, CardHeader, CardBody, Badge } from "reactstrap"; +import { Button, ButtonGroup } from "reactstrap"; import { ListGroup, ListGroupItem } from "reactstrap"; import "../../node_modules/highlight.js/styles/atom-one-light.css"; import { faProjectDiagram } from "@fortawesome/free-solid-svg-icons"; @@ -130,11 +128,7 @@ class ShowFile extends React.Component { return (