Commit 5cf99749 by Calcium-Ion Committed by GitHub

删除无用代码

parent 7ed8ef67
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment