When using @State to modify a singleton instance, the UI cannot be refreshed.

· Dev.to