Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 52c838c101 | |||
| fcfdc1325e | |||
| 58d3e8942d |
@ -3,6 +3,10 @@ import { Editor } from '@tinymce/tinymce-react';
|
|||||||
import { tinyKey } from '../config';
|
import { tinyKey } from '../config';
|
||||||
import { useAppSelector } from '../stores/hooks';
|
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 }) => {
|
export const RichTextField = ({ options, field, form, itemRef, showField }) => {
|
||||||
const [value, setValue] = useState(null);
|
const [value, setValue] = useState(null);
|
||||||
const darkMode = useAppSelector((state) => state.style.darkMode);
|
const darkMode = useAppSelector((state) => state.style.darkMode);
|
||||||
|
|||||||
@ -36,6 +36,7 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
|
|||||||
const getLayout = Component.getLayout || ((page) => page);
|
const getLayout = Component.getLayout || ((page) => page);
|
||||||
|
|
||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
|
console.log(process.env)
|
||||||
// Perform localStorage action
|
// Perform localStorage action
|
||||||
console.log(
|
console.log(
|
||||||
'process.env.NEXT_PUBLIC_BACK_API',
|
'process.env.NEXT_PUBLIC_BACK_API',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user