File tree Expand file tree Collapse file tree
pages/Updates/components/UpdatesTable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export class ApiClient {
44 private baseUrl : string ;
55
66 constructor ( ) {
7- // @ts -ignore
7+ // @ts -ignore using window.env for vite
88 this . baseUrl = window ?. env ?. VITE_OTA_API_URL || import . meta. env . VITE_OTA_API_URL ;
99 if ( ! this . baseUrl ) {
1010 throw new Error ( 'Missing VITE_OTA_API_URL environment variable' ) ;
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import {
1212 BreadcrumbSeparator ,
1313} from '@/components/ui/breadcrumb' ;
1414import { Badge } from '@/components/ui/badge.tsx' ;
15+ import apple from '@/assets/apple.svg' ;
16+ import android from '@/assets/android.svg' ;
1517
1618export const UpdatesTable = ( {
1719 branch,
@@ -83,8 +85,8 @@ export const UpdatesTable = ({
8385 const isAndroid = value . row . original . platform === 'android' ;
8486 return (
8587 < div className = "flex flex-row items-center gap-2" >
86- { isIos && < img src = "@/assets/ apple.svg" className = "w-4" alt = "apple" /> }
87- { isAndroid && < img src = "@/assets/ android.svg" className = "w-4" alt = "android" /> }
88+ { isIos && < img src = { apple } className = "w-4" alt = "apple" /> }
89+ { isAndroid && < img src = { android } className = "w-4" alt = "android" /> }
8890 </ div >
8991 ) ;
9092 } ,
You can’t perform that action at this time.
0 commit comments