Skip to content
Open

Dev #188

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions arturito/.prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ module.exports = {
printWidth: 80,
tabWidth: 2,
};

// Comentario prettier
44,764 changes: 44,764 additions & 0 deletions arturito/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions arturito/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@types/react-dom": "^17.0.0",
"antd": "^4.16.9",
"axios": "^0.21.1",
"git-flow": "^0.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
Expand Down
2 changes: 2 additions & 0 deletions arturito/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ const App = () => (
);

export default App;

// DELFI
5 changes: 4 additions & 1 deletion arturito/src/components/PlanetsSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ const Planets = () => {

return (
<div>
<Table columns={columns} data={data.results.slice(0, 3)} /* :D */ />
<Table columns={columns} data={data.results.slice(0, 60)} /* :D */ />
</div>
);
};

export default Planets;

// Hola
// Chau
2 changes: 1 addition & 1 deletion arturito/src/components/Table/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Table } from 'antd';
import 'antd/dist/antd.dark.css';

// HOLAHOAL
interface Column {
title: string;
dataIndex: string;
Expand Down
3 changes: 3 additions & 0 deletions arturito/src/reportWebVitals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ const reportWebVitals = (onPerfEntry?: ReportHandler) => {
};

export default reportWebVitals;
// Hola y chau

// Prueba 2; Prueba 2 working process; Prueba 2 finished
4 changes: 2 additions & 2 deletions arturito/src/utils/fetcher.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';

// Possible alternative: 'https://swapi.dev/api'
const baseURL = 'https://www.swapi.it/api';
const baseURL = 'https://swapi.dev/api' // 'https://www.swapi.it/api';

export const swGet = (url: string) =>
axios.get(url, { baseURL }).then((res) => res.data);
axios.get(url, { baseURL }).then((res) => res.data); // Hola
23,448 changes: 12,742 additions & 10,706 deletions arturito/yarn.lock

Large diffs are not rendered by default.