UNPKG

@clerk/nextjs

Version:

Clerk SDK for NextJS

1 lines 391 B
{"version":3,"sources":["../../../../src/client-boundary/hooks/useSafeLayoutEffect.tsx"],"sourcesContent":["import React from 'react';\n\n// TODO: Import from shared once [JS-118] is done\nexport const useSafeLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n"],"mappings":";AAAA,OAAO,WAAW;AAGX,MAAM,sBAAsB,OAAO,WAAW,cAAc,MAAM,kBAAkB,MAAM;","names":[]}