Skip to content

Commit

Permalink
went back to dynamic use of Stage
Browse files Browse the repository at this point in the history
  • Loading branch information
christabusho committed Jul 22, 2024
1 parent 86493a7 commit 1b8176f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deliberation-empirica
10 changes: 5 additions & 5 deletions src/app/editor/components/RenderPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import React, { useEffect, useState, useContext } from 'react'
import dynamic from 'next/dynamic.js'
import TimePicker from './TimePicker'
import { Stage } from './../../../.././deliberation-empirica/client/src/Stage.jsx'
//import { Stage } from './../../../.././deliberation-empirica/client/src/Stage.jsx'
import RenderDelibElement from './RenderDelibElement'

import { StageContext } from '@/editor/stageContext'

{
/*const Stage = dynamic(

const Stage = dynamic(
() =>
import('./../../../.././deliberation-empirica/client/src/Stage.jsx').then(
(mod) => mod.Stage
) as any,
{
ssr: false,
}
)*/
}
)


export function RenderPanel() {
const [time, setTime] = useState(0)
Expand Down

0 comments on commit 1b8176f

Please sign in to comment.