Skip to content

Commit 946eafd

Browse files
committed
fix: fix the occurred errors
1 parent 5b56d66 commit 946eafd

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

HwProj.APIGateway/HwProj.APIGateway.API/ExportServices/GoogleService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public async Task<Result<string[]>> GetSheetTitles(string sheetUrl)
7777
}
7878
catch (Exception ex)
7979
{
80-
return Result<string[]>.Failed($"Ошибка при обращении к Google Docs: {ex.Message}");
80+
return Result<string[]>.Failed($"Ошибка при обращении к Google Sheets: {ex.Message}");
8181
}
8282
}
8383

hwproj.front/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ class App extends Component<{navigate: any}, AppState> {
109109
}
110110
}
111111

112-
export default withRouter(App);
112+
export default withRouter(App);

hwproj.front/src/components/Courses/Course.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const Course: React.FC<RouteComponentProps<ICourseProps>> = (props) => {
8484
})
8585

8686
const [pageState, setPageState] = useState<IPageState>({
87-
tabValue: "homeworks"
87+
tabValue: isFromYandex ? "stats" : "homeworks"
8888
})
8989

9090
const {

hwproj.front/src/components/Notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,4 +266,4 @@ const Notifications: FC<IProfileProps> = (props) => {
266266
)
267267
}
268268

269-
export default Notifications
269+
export default Notifications

hwproj.front/src/components/Solutions/ExportToGoogle.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { FC, useState } from "react";
22
import { useEffect } from 'react';
33
import { ResultString } from "../../api";
4-
import { ResultExternalService } from "../../api";
54
import { Alert, Box, Button, CircularProgress, Grid, MenuItem, Select, TextField } from "@mui/material";
65
import apiSingleton from "../../api/ApiSingleton";
76
import { green, red } from "@material-ui/core/colors";

0 commit comments

Comments
 (0)