Fix duplicate toggleUploadSpecial definition in curator client
This commit is contained in:
@@ -541,12 +541,6 @@ export default function CuratorPageClient() {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleUploadSpecial = (specialId: number) => {
|
|
||||||
setUploadSpecialIds(prev =>
|
|
||||||
prev.includes(specialId) ? prev.filter(id => id !== specialId) : [...prev, specialId]
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleFileChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
const handleFileChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
const selected = Array.from(e.target.files || []);
|
const selected = Array.from(e.target.files || []);
|
||||||
if (selected.length === 0) return;
|
if (selected.length === 0) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user