Skip to content

Commit a92a4d2

Browse files
fifoosidilhan007
authored andcommitted
chore(framework): refactor device.js (#2241)
1 parent 2050576 commit a92a4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/base/src/Device.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const _getDesktopOS = () => {
146146

147147
return {
148148
"name": OS.WINDOWS,
149-
"versionStr": uaResult[1],
149+
"versionStr": (uaResult && uaResult[1]) || "",
150150
};
151151
}
152152

0 commit comments

Comments
 (0)