Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions src/components/AppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function HarmonyAppBar() {
<MenuItem key="mode">
<ThemeToggle />
</MenuItem>
<MenuItem key="language">
{/* <MenuItem key="language">
<Select
size="small"
id="language"
Expand All @@ -169,7 +169,7 @@ function HarmonyAppBar() {
<MenuItem value={"EN"}>English</MenuItem>
<MenuItem value={"PT"}>Portuguese</MenuItem>
</Select>
</MenuItem>
</MenuItem> */}
<MenuItem key="model">
<FormControl sx={{ margin: "auto" }}>
<InputLabel id="models">Model</InputLabel>
Expand Down
4 changes: 2 additions & 2 deletions src/contexts/DataContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ export function DataProvider({ children }) {
const getVersion = useCallback(() => {
return retryableGetData({
url: process.env.REACT_APP_API_VERSION,
timeout: 2500,
timeout: 10000,
}).then((data) => data.harmony_version || "unknown");
}, []);

const getModels = useCallback(() => {
return retryableGetData({
url: process.env.REACT_APP_API_MODELS,
timeout: 2500,
timeout: 10000,
});
}, []);

Expand Down
Loading