Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
8 lines
227 B
Plaintext
8 lines
227 B
Plaintext
"use client";
|
|
import { useLayoutEffect, useEffect } from 'react';
|
|
import { isBrowser } from './is-browser.mjs';
|
|
|
|
const useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;
|
|
|
|
export { useIsomorphicLayoutEffect };
|