Skip to content

Commit 5bb1b35

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
package -loc
1 parent c8eb94d commit 5bb1b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class AppComponent {
8989

9090
validateFileFunction(res: any) {
9191
console.log('validating')
92-
if(res?.size < 1000000){ // Less than 1mb
92+
if(res && res.size < 1000000){ // Less than 1mb
9393
return true;
9494
}
9595
return false;

0 commit comments

Comments
 (0)