is because the layout is re-rendered, and the context used in the layout is recreated. It's seems a bug in app router