Const ScannerRouter
ScannerRouter: FC<{}> = observer(() => {const { path } = useRouteMatch();const hintText = useConfigHintText("scanner");return (<><BlockerNoticeNotActive style={{ margin: "10px 0 0 0" }} /><RouteSwitch><><ConfigHintModal identifier="scanner" title={__("What does the scanner find?")} width={900} /><Route path={path} exact><ConfigContent><ScannerList /><div style={{ maxWidth: 800, margin: "30px auto 0", textAlign: "center" }}>{hintText}</div></ConfigContent></Route></></RouteSwitch></>);})