export const isServer = typeof window === 'undefined' || typeof document === 'undefined'