File size: 348 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* eslint-disable no-undef */
'use client'

export function ClientValue() {
  return (
    <>{typeof MY_MAGIC_VARIABLE === 'string' ? MY_MAGIC_VARIABLE : 'not set'}</>
  )
}

export function ClientExpr() {
  return (
    <>
      {typeof process.env.MY_MAGIC_EXPR === 'string'
        ? process.env.MY_MAGIC_EXPR
        : 'not set'}
    </>
  )
}