删除无用代码

This commit is contained in:
Calcium-Ion authored and GitHub committed 2024-12-05 22:52:49 +08:00
1 parent 3aa591785d
commit 9ce8940d11
1 file changed
-4
-4
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);