feat(app): scope sdk/sync hooks per-route so /new-session targets its draft server (#32290)
This commit is contained in:
@@ -53,7 +53,7 @@ export function SessionReviewTab(props: SessionReviewTabProps) {
|
||||
const layout = useLayout()
|
||||
|
||||
const readFile = async (path: string) => {
|
||||
return sdk.client.file
|
||||
return sdk().client.file
|
||||
.read({ path })
|
||||
.then((x) => x.data)
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user