删除无用代码

This commit is contained in:
Calcium-Ion
2024-12-05 22:52:49 +08:00
committed by GitHub
parent 7ed8ef67ec
commit 5cf997497c

View File

@@ -781,10 +781,6 @@ const ChannelsTable = () => {
const { success, message, data } = res.data;
if (success) {
setChannelFormat(data, enableTagMode);
if (!enableTagMode) {
setChannels(data.map(channel => ({...channel, key: '' + channel.id})));
setChannelCount(data.length);
}
setActivePage(1);
} else {
showError(message);