Unplanned
Last Updated: 16 Oct 2024 12:30 by CompuMed
CompuMed
Created on: 16 Oct 2024 12:30
Category: Window
Type: Bug Report
1
Setting the stage prop to "DEFAULT" does not update the Window component

Setting the stage prop to "DEFAULT" does not update the Window component as expected:

const [stage, setStage] = React.useState<string>('DEFAULT');  

const handleStageChange = (e: WindowActionsEvent) => {
    setStage('DEFAULT');
  };

<Window
          stage={stage}
          onStageChange={handleStageChange}

0 comments