Skip to content

Commit

Permalink
Favorite calls
Browse files Browse the repository at this point in the history
  • Loading branch information
b-j-roberts committed Jan 18, 2025
1 parent cc45a61 commit aea66b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions frontend/src/tabs/stencils/StencilItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const StencilItem = (props) => {
const favoriteCallData = props.canvasFactoryContract.populate(
'favorite_stencil',
{
canvas_id: props.openedWorldId,
stencil_id: stencilId
}
);
Expand All @@ -70,6 +71,7 @@ const StencilItem = (props) => {
const unfavoriteCallData = props.canvasFactoryContract.populate(
'unfavorite_stencil',
{
canvas_id: props.openedWorldId,
stencil_id: stencilId
}
);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/tabs/worlds/WorldItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const WorldItem = (props) => {
const favoriteCallData = props.canvasFactoryContract.populate(
'favorite_canvas',
{
world_id: worldId
canvas_id: worldId
}
);
const { suggestedMaxFee } = await props.estimateInvokeFee({
Expand All @@ -69,7 +69,7 @@ const WorldItem = (props) => {
const unfavoriteCallData = props.canvasFactoryContract.populate(
'unfavorite_canvas',
{
world_id: worldId
canvas_id: worldId
}
);
const { suggestedMaxFee } = await props.estimateInvokeFee({
Expand Down

0 comments on commit aea66b7

Please sign in to comment.