(feat:upload) wording, icons and rmv clear button

This commit is contained in:
ManishMadan2882
2025-10-05 16:12:58 +05:30
parent e4554d6c09
commit eb4d776784
8 changed files with 15 additions and 39 deletions

View File

@@ -114,14 +114,6 @@ export const uploadSlice = createSlice({
removeUploadTask: (state, action: PayloadAction<string>) => {
state.tasks = state.tasks.filter((task) => task.id !== action.payload);
},
clearCompletedTasks: (state) => {
state.tasks = state.tasks.filter(
(task) =>
task.status === 'uploading' ||
task.status === 'training' ||
task.status === 'preparing',
);
},
},
});
@@ -134,7 +126,6 @@ export const {
updateUploadTask,
dismissUploadTask,
removeUploadTask,
clearCompletedTasks,
} = uploadSlice.actions;
export const selectAttachments = (state: RootState) => state.upload.attachments;