mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
(feature)(chat-sdk) update antd version to 5 (#409)
This commit is contained in:
@@ -172,6 +172,10 @@ export function getChartLightenColor(col) {
|
||||
|
||||
export const isMobile = window.navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i);
|
||||
|
||||
export const isIOS = window.navigator.userAgent.match(/(iPhone|iPod|ios)/i);
|
||||
|
||||
export const isAndroid = window.navigator.userAgent.match(/(Android)/i);
|
||||
|
||||
|
||||
export function isProd() {
|
||||
return process.env.NODE_ENV === 'production';
|
||||
|
||||
Reference in New Issue
Block a user