删除无用代码

This commit is contained in:
Calcium-Ion
2024-12-05 22:52:49 +08:00
committed by GitHub
parent 3aa591785d
commit 9ce8940d11

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);