remove extra console.log
This commit is contained in:
@@ -119,7 +119,6 @@ export async function chunkUpload(formData: FormData): Promise<ChunkResponse> {
|
|||||||
let parsed = await response.json();
|
let parsed = await response.json();
|
||||||
|
|
||||||
if (parsed.message_code === 0) {
|
if (parsed.message_code === 0) {
|
||||||
console.log('code 0');
|
|
||||||
return {
|
return {
|
||||||
errorMesage: null,
|
errorMesage: null,
|
||||||
fileId: parsed.message_body.file_id
|
fileId: parsed.message_body.file_id
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ export default function DashboardUserFiles() {
|
|||||||
const [day, month, year] = datePart.split('-').map(Number);
|
const [day, month, year] = datePart.split('-').map(Number);
|
||||||
const [hours, minutes, seconds] = timePart.split(':').map(Number);
|
const [hours, minutes, seconds] = timePart.split(':').map(Number);
|
||||||
const newDate = new Date(year, month - 1, day, hours, minutes, seconds).getTime();
|
const newDate = new Date(year, month - 1, day, hours, minutes, seconds).getTime();
|
||||||
console.log(newDate);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
@@ -86,12 +85,6 @@ export default function DashboardUserFiles() {
|
|||||||
return `${day}.${month}.${year}`;
|
return `${day}.${month}.${year}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
console.log(tableData);
|
|
||||||
}, [tableData]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="content-section">
|
<div className="content-section">
|
||||||
<div className="section-header">
|
<div className="section-header">
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ export default function ResetPasswordForm() {
|
|||||||
const t = useTranslations('Login-register-form');
|
const t = useTranslations('Login-register-form');
|
||||||
const searchParams = useSearchParams();
|
const searchParams = useSearchParams();
|
||||||
const email = searchParams.get('email');
|
const email = searchParams.get('email');
|
||||||
console.log(email);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (state) {
|
if (state) {
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ export function FileInfoModalWindow({ fileInfo, setWindowClose, setWindowChildre
|
|||||||
setWindowClose(false);
|
setWindowClose(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(fileInfo);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='file-info-modal-window'>
|
<div className='file-info-modal-window'>
|
||||||
|
|
||||||
|
|||||||
@@ -117,8 +117,6 @@ export function SearchedUserFilesList({ list }: { list: any }) {
|
|||||||
className="results-list"
|
className="results-list"
|
||||||
>
|
>
|
||||||
{list.map((e: any, index: number) => {
|
{list.map((e: any, index: number) => {
|
||||||
console.log(e);
|
|
||||||
console.log(e.similarityLevel);
|
|
||||||
if (e.similarityLevel !== 'DIFFERENT') {
|
if (e.similarityLevel !== 'DIFFERENT') {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user