Skip to content

Commit

Permalink
fix: missing host value in payload (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Nov 29, 2023
2 parents 40e1e7c + 6f61373 commit e3c773b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/hooks/useImpler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export function useImpler({
const payload: IShowPayload = {
templateId,
data,
host: '',
};
if (Array.isArray(schema) && schema.length > 0) {
payload.schema = JSON.stringify(schema);
Expand Down

0 comments on commit e3c773b

Please sign in to comment.