Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/upload #535

Open
wants to merge 20 commits into
base: mobile
Choose a base branch
from
Open

Fix/upload #535

wants to merge 20 commits into from

Conversation

dragos1195
Copy link
Collaborator

No description provided.

@dragos1195 dragos1195 added the bug Something isn't working label May 31, 2024
@dragos1195 dragos1195 self-assigned this May 31, 2024
Copy link

vercel bot commented May 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
votemonitor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 11:34am

@@ -1,3 +1,4 @@
import axios from "axios";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import axios.
import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
import { addAttachmentMultipartAbort, addAttachmentMultipartComplete, uploadS3Chunk } from "../../services/api/add-attachment.api";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused imports addAttachmentMultipartAbort, addAttachmentMultipartComplete.
});
}
}
}

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (95% of all statements in
the enclosing function
have an explicit semicolon).
setIsLoadingAttachment(true);
try {
// Upload each attachment
setUploadProgress(`${t("upload.starting")}`)

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (95% of all statements in
the enclosing function
have an explicit semicolon).
Comment on lines +8 to +11
import {
AddAttachmentStartAPIPayload,
addAttachmentMultipartStart,
} from "../../services/api/add-attachment.api";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import addAttachmentMultipartStart.
} from "../../services/api/quick-report/add-attachment-quick-report.api";
import { AttachmentApiResponse } from "../../services/api/get-attachments.api";
import { AttachmentsKeys } from "../../services/queries/attachments.query";
import { ASYNC_STORAGE_KEYS } from "../../common/constants";
import * as Sentry from "@sentry/react-native";
import SuperJSON from "superjson";
import { handleChunkUpload } from "../../services/mutations/attachments/add-attachment.mutation";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import handleChunkUpload.
import * as Sentry from "@sentry/react-native";
import { useState } from "react";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import useState.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants