mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Fix ACA pipeline
This commit is contained in:
parent
f89d56acbf
commit
5a91b6b3c9
@ -15,4 +15,5 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const isBrowser = (): boolean => typeof window?.document !== 'undefined';
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
||||||
|
export const isBrowser = (): boolean => typeof window !== 'undefined' && typeof window.document !== 'undefined';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user