Skip to content
Snippets Groups Projects
Commit 8d649db5 authored by Jacopo Gasparetto's avatar Jacopo Gasparetto
Browse files

Rename S3APIService to S3Service

parent 8b9f09f9
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import { Login } from './routes/Login';
import { staticRoutes } from './routes';
import { useOAuth, OAuthPopup } from './services/OAuth2';
import { BucketsListContext } from './services/BucketListContext';
import { useS3Service } from './services/S3APIService';
import { useS3Service } from './services/S3Service';
import { BucketBrowser } from './routes/BucketBrowser';
import { ListBucketsCommand, Bucket } from '@aws-sdk/client-s3';
......
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import { OAuthProvider } from './services/OAuth2';
import { S3ServiceProvider } from './services/S3APIService';
import { S3ServiceProvider } from './services/S3Service';
import App from './App';
import './index.css';
const root = ReactDOM.createRoot(
......
......@@ -13,7 +13,7 @@ import {
TrashIcon
} from '@heroicons/react/24/outline';
import { useNavigate } from 'react-router-dom';
import { useS3Service } from '../../services/S3APIService';
import { useS3Service } from '../../services/S3Service';
import { InputFile } from '../../components/InputFile';
import {
ListObjectsV2Command,
......
......@@ -5,6 +5,7 @@ import { S3Client } from "@aws-sdk/client-s3";
import { AwsCredentialIdentity } from "@aws-sdk/types";
import { useCallback } from "react";
import { useEffect } from "react";
// **** AWS Config ****
export interface AWSConfig {
endpoint: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment