@@ -58,7 +58,8 @@ const DnDFlow = () => {
5858 const [ dockOpen , setDockOpen ] = useState ( false ) ;
5959 const [ logLines , setLogLines ] = useState ( [ ] ) ;
6060 const sseRef = useRef ( null ) ;
61-
61+ const append = ( line ) => setLogLines ( ( prev ) => [ ...prev , line ] ) ;
62+
6263 // for version information
6364 const [ versionInfo , setVersionInfo ] = useState ( null ) ;
6465
@@ -272,7 +273,7 @@ const DnDFlow = () => {
272273 }
273274
274275 // Create node data with label and initialize all expected fields as empty strings
275- let nodeData = {
276+ let nodeData = {
276277 label : `${ type } ${ newNodeId } ` ,
277278 nodeColor : '#DDE6ED' // Default node color
278279 } ;
@@ -1141,7 +1142,7 @@ const DnDFlow = () => {
11411142 Results
11421143 </ button >
11431144 </ div >
1144-
1145+
11451146 { /* Help Button */ }
11461147 < button
11471148 style = { {
@@ -1176,12 +1177,12 @@ const DnDFlow = () => {
11761177 // Display version information and help
11771178 const pathsimVersion = versionInfo ?. pathsim_version || 'Loading...' ;
11781179 const fcsVersion = versionInfo ?. fuel_cycle_sim_version || 'Loading...' ;
1179-
1180+
11801181 const message = `Help documentation coming soon!\n\n` +
11811182 `Version Information:\n` +
11821183 `• PathSim: ${ pathsimVersion } \n` +
11831184 `• Fuel Cycle Sim: ${ fcsVersion } \n\n` ;
1184-
1185+
11851186 alert ( message ) ;
11861187 } }
11871188 title = "Get help, documentation, and version information"
0 commit comments