fix(ui): adapt to prettier 3.9 and eslint-plugin-react-hooks 7.1 (#5438)