mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
remove unnecessary toast
This commit is contained in:
1 parent
758ed90bb7
commit
2c9fe492b4
1 file changed
-13
@@ -109,19 +109,6 @@ export default function Index() {
|
||||
|
||||
// Add all files without validation
|
||||
setAttachedFiles(prev => [...prev, ...files]);
|
||||
|
||||
// Announce files added via toast
|
||||
if (files.length === 1) {
|
||||
toast({
|
||||
title: "File added",
|
||||
description: `${files[0].name} has been added to attachments.`,
|
||||
});
|
||||
} else {
|
||||
toast({
|
||||
title: "Files added",
|
||||
description: `${files.length} files have been added to attachments.`,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// Handle keyboard shortcuts (physical keyboards only)
|
||||
|
||||
Reference in new issue
Block a user