Skip to content

Commit

Permalink
chore: pr feedback pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Sep 4, 2024
1 parent e0c5c7e commit e04659a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,11 @@ or its priority. The operation requires the id of the widget that will be modifi
.. code-block::
const modifyWidget = (widget) => {
const newContent = {
widget.content = {
propExampleA: 'University XYZ Sidebar',
propExampleB: SomeOtherIcon,
};
const modifiedWidget = widget;
modifiedWidget.content = newContent;
return modifiedWidget;
return widget;
};
/*
Expand Down

0 comments on commit e04659a

Please sign in to comment.