diff --git a/src/App.tsx b/src/App.tsx index c1f1139..8ac3344 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,11 +1,9 @@ import React from 'react'; -import { S3Client, ListBucketsCommand } from '@aws-sdk/client-s3'; +import { S3Client } from '@aws-sdk/client-s3'; import { HashRouter, - Link, Routes, Route, - PathRouteProps, } from "react-router-dom"; import BucketList from './BucketList'; import { ObjectList1, ObjectList2 } from './ObjectList'; @@ -30,10 +28,6 @@ class App extends React.Component { client: null, }; - constructor(props: AppProps) { - super(props); - } - handleChangeAccessKeyId = (e: React.ChangeEvent): void => { this.setState({accessKeyId: e.currentTarget.value}); } @@ -89,17 +83,11 @@ class App extends React.Component { Access key ID - - Hello! - Secret access key - - world! - -