# fix\(mobile\): scope the inspector boundary inside the pane and harden safeString · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/a4e849c2183526c2bbf2da3f366529a160efa57a)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: a4e849c2183526c2bbf2da3f366529a160efa57a

Requested commit: a4e849c2183526c2bbf2da3f366529a160efa57a

Commit: a4e849c2183526c2bbf2da3f366529a160efa57a

Tree: efe87b448cdfedfb357b6a617e1f3217c40303b9

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(mobile): scope the inspector boundary inside the pane and harden safeString

Review findings on head 21c3d34:
- The inspector boundary wrapped the whole WorkspaceInspectorPane, so a
  content crash deleted the fixed-width column and resize divider and left
  the flex-1 fallback as a layout sibling. Move it inside the pane around
  the rendered content only; the column chrome survives.
- It also had no resetKeys, so a healthy renderer after a route change kept
  showing the previous renderer's fallback. resetKeys now tracks the
  renderer identity.
- safeString's fallback (Object.prototype.toString) could itself throw via
  a Symbol.toStringTag getter; guard it and return a constant, with a test.

```

## Parents

- [21c3d34d24b397af85fd60df6e2f87d28dd1a46f](https://git.cafe/pingdotgg/t3code/commit/21c3d34d24b397af85fd60df6e2f87d28dd1a46f?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/a4e849c2183526c2bbf2da3f366529a160efa57a?format=markdown)
