Skip to content

Commit

Permalink
Merge pull request #18 from Keerat666/UI
Browse files Browse the repository at this point in the history
Deployment before Demo
  • Loading branch information
Keerat666 authored May 1, 2024
2 parents d4a97e5 + 57a324e commit e273515
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions ui/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "/static/css/main.47bdf847.css",
"main.js": "/static/js/main.1803679b.js",
"main.js": "/static/js/main.ec1b7d3c.js",
"index.html": "/index.html",
"main.47bdf847.css.map": "/static/css/main.47bdf847.css.map",
"main.1803679b.js.map": "/static/js/main.1803679b.js.map"
"main.ec1b7d3c.js.map": "/static/js/main.ec1b7d3c.js.map"
},
"entrypoints": [
"static/css/main.47bdf847.css",
"static/js/main.1803679b.js"
"static/js/main.ec1b7d3c.js"
]
}
2 changes: 1 addition & 1 deletion ui/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.1803679b.js"></script><link href="/static/css/main.47bdf847.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.ec1b7d3c.js"></script><link href="/static/css/main.47bdf847.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1 change: 0 additions & 1 deletion ui/build/static/js/main.1803679b.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/build/static/js/main.ec1b7d3c.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion ui/src/components/characters/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ const CharacterList = ({ }) => {
const fetchCharacters = async () => {
setIsLoading(true); // Set loading to true before fetching data
const response = await getCharacters(); // Replace with your API call
setCharacters(response.results || []); // Assuming data is in response.data
const sorted = response.results.sort((a, b) => a.name.localeCompare(b.name));

setCharacters(sorted || []); // Assuming data is in response.data
setIsLoading(false); // Set loading to false after data is fetched
};

Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function HeaderPanel() {
textDecoration: 'none',
}}
>
Crash Course
Eureka AI
</Typography>

<Box sx={{ flexGrow: 1, display: { xs: 'flex', md: 'none' } }}>
Expand Down Expand Up @@ -106,7 +106,7 @@ function HeaderPanel() {
textDecoration: 'none',
}}
>
Crash Course
Eureka AI
</Typography>
<Box sx={{ flexGrow: 1, display: { xs: 'none', md: 'flex' } }}>
{pages.map((page) => (
Expand Down

0 comments on commit e273515

Please sign in to comment.