From 3390e450c35058414ede0d2292a48fde628a43b2 Mon Sep 17 00:00:00 2001 From: TiagoM13 Date: Sun, 19 Mar 2023 11:52:19 -0300 Subject: [PATCH 1/9] fix: set app element --- src/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index bbc9b44..80c8352 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,8 +1,11 @@ import React from 'react'; +import Modal from 'react-modal'; import { RouterProvider } from 'react-router-dom'; import router from './routes/route_app'; +Modal.setAppElement('#root'); + const App = () => { return ; }; From 5c0b41b345f87f42a7687fa938f13aa4b5197b8d Mon Sep 17 00:00:00 2001 From: TiagoM13 Date: Sun, 19 Mar 2023 12:38:09 -0300 Subject: [PATCH 2/9] fix: update a feature --- src/components/CardDetails/CardDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CardDetails/CardDetails.tsx b/src/components/CardDetails/CardDetails.tsx index 7a520c5..183eb95 100644 --- a/src/components/CardDetails/CardDetails.tsx +++ b/src/components/CardDetails/CardDetails.tsx @@ -20,7 +20,7 @@ export const CardDetails = ({ id, name, img, types, weight, height, abilities, s
Date: Mon, 10 Apr 2023 22:13:01 -0300 Subject: [PATCH 3/9] fix: update button in modal --- src/components/Modal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx index af6f963..8b2c085 100644 --- a/src/components/Modal/index.tsx +++ b/src/components/Modal/index.tsx @@ -15,7 +15,7 @@ export const ContentModal = ({ active, children, onCloseModal }: IModal) => { >