Skip to content

Commit

Permalink
fix(stats): remove react-iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Jul 19, 2024
1 parent 7ecc6c6 commit c6112cc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 18 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
12 changes: 0 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@vitejs/plugin-react": "^4.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-iframe": "^1.8.5",
"react-router-dom": "^6.23.1",
"react-scroll": "^1.9.0",
"vite": "^5.2.0"
Expand Down
10 changes: 5 additions & 5 deletions src/Pages/Stats.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Iframe from 'react-iframe';
//

function Stats() {
return (
<div className="fr-container">
<div className="fr-grid-row">
<Iframe
<iframe
className="fr-col-12"
width="100%"
height="2000"
url="https://stats.agentconnect.gouv.fr/public/dashboard/59405cec-eb60-47c6-9eb2-0f4ee9a0378c"
></Iframe>
src="https://stats.agentconnect.gouv.fr/public/dashboard/59405cec-eb60-47c6-9eb2-0f4ee9a0378c"
width="100%"
></iframe>
</div>
</div>
);
Expand Down

0 comments on commit c6112cc

Please sign in to comment.