upd: toast alert
This commit is contained in:
@@ -52,7 +52,6 @@ export default function RootLayout() {
|
||||
const checkVersion = async () => {
|
||||
try {
|
||||
const response = await apiGetVersion();
|
||||
console.log('response',response)
|
||||
if (response.success && response.data) {
|
||||
const maintenance = response.data.find((item: any) => item.id === 'mobile_maintenance')?.value === 'true';
|
||||
const latestVersion = response.data.find((item: any) => item.id === 'mobile_latest_version')?.value || '0.0.0';
|
||||
|
||||
Reference in New Issue
Block a user