Isolate Netlify, Firebase and Helper functions + Import from absolute paths
This commit is contained in:
3
helpers/platformutils.js
Normal file
3
helpers/platformutils.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export function getPlatformSpecialKey() {
|
||||
return /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘" : "Ctrl"
|
||||
}
|
||||
Reference in New Issue
Block a user