Skip to content

Commit

Permalink
test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanishq5003 committed Aug 7, 2024
1 parent 0b6400f commit 55f64c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as Sentry from '@sentry/react';
import { CircularProgress, Grid } from '@material-ui/core';

import MyCommaAuth, { config as AuthConfig, storage as AuthStorage } from '@commaai/my-comma-auth';
import { athena as Athena, auth as Auth, billing as Billing, request as Request } from '@commaai/api';
import { athena as Athena, auth as Auth, billing as Billing, request as Request } from '@commaai/api';

import { getZoom, getSegmentRange } from './url';
import store, { history } from './store';
Expand Down
2 changes: 1 addition & 1 deletion src/components/DriveView/Media.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class Media extends Component {
async uploadFilesAll(types) {
const { dongleId, currentRoute, loop, files } = this.props;
const durations = currentRoute.duration;
const segments = ceil(durations/(60*1000))
const segments = Math.ceil(durations/(60*1000))
if (types === undefined) {
types = ['logs', 'cameras', 'dcameras', 'ecameras'];
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Files/UploadQueue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class UploadQueue extends Component {
}
}

async cancelUploading(ids) {
async cancelUploading(ids) {
const { device, dispatch, filesUploading } = this.props;
if (ids === undefined) {
ids = Object.keys(filesUploading);
Expand Down

0 comments on commit 55f64c9

Please sign in to comment.