Skip to content

Commit 325f6c4

Browse files
committed
remove notification logic
1 parent b696ebf commit 325f6c4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/lib/fileImport.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ import { loadPointCloud } from '@/lib/pointCloudLoader.ts'
55
import { detectPlyKind } from '@/lib/plyFormat.ts'
66
import { VantageProjection, loadTexture } from '@/lib/scene/projection'
77
import { FILE_PATTERNS } from '@/lib/constants.ts'
8-
import { notify } from '@/lib/notifications.svelte.ts'
98

109
export type ImportErrorHandler = (file: File, error: Error) => void
1110

1211
const defaultOnError: ImportErrorHandler = (file, error) => {
1312
console.error(`Failed to import ${file.name}:`, error)
14-
notify(error.message || `Failed to import ${file.name}`, 'error')
1513
}
1614

1715
export async function importModelFiles(

0 commit comments

Comments
 (0)