mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
[web] Remove toasts and NEW indicators from conversions (#35591)
* [web] Remove toasts for document conversions * [web] Remove NEW indicators from document conversions GitOrigin-RevId: 608b344d9be596ecb3cf4573ab1152f78d7d9d43
This commit is contained in:
committed by
Copybot
parent
17363fcc59
commit
33e0a5e1c2
-4
@@ -8,7 +8,6 @@ import {
|
||||
} from '@/shared/components/ol/ol-modal'
|
||||
import OLButton from '@/shared/components/ol/ol-button'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { showImportDocumentFeedbackToast } from '@/features/project-list/components/new-project-button/import-document-feedback-toast'
|
||||
|
||||
function ProjectConvertedFromDocumentModal() {
|
||||
const [convertedFrom, setConvertedFrom] = useState<string | null>(null)
|
||||
@@ -34,9 +33,6 @@ function ProjectConvertedFromDocumentModal() {
|
||||
<ProjectConvertedFromImportModalContent
|
||||
onHide={() => {
|
||||
setConvertedFrom(null)
|
||||
if (convertedFrom === 'docx' || convertedFrom === 'markdown') {
|
||||
showImportDocumentFeedbackToast(convertedFrom)
|
||||
}
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user