Compare commits

...

3 Commits

2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,10 @@ import { Editor } from '@tinymce/tinymce-react';
import { tinyKey } from '../config';
import { useAppSelector } from '../stores/hooks';
console.log(tinyKey)
console.log(process.env.TINY_KEY)
console.log(process.env)
export const RichTextField = ({ options, field, form, itemRef, showField }) => {
const [value, setValue] = useState(null);
const darkMode = useAppSelector((state) => state.style.darkMode);

View File

@ -36,6 +36,7 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
const getLayout = Component.getLayout || ((page) => page);
if (typeof window !== 'undefined') {
console.log(process.env)
// Perform localStorage action
console.log(
'process.env.NEXT_PUBLIC_BACK_API',