Skip to content

Commit

Permalink
docs(tutorial): fixed browser view crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-271120 committed Apr 20, 2024
1 parent cca41dc commit 1700d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const ListProducts = () => {
flex: 0.5,
type: "singleSelect",
valueOptions: categories,
valueFormatter: (params) => params.value,
valueFormatter: (params) => params?.value,
renderCell: function render({ row }) {
if (isLoading) {
return "Loading...";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const ListProducts = () => {
flex: 0.5,
type: "singleSelect",
valueOptions: categories,
valueFormatter: (params) => params.value,
valueFormatter: (params) => params?.value,
renderCell: function render({ row }) {
if (isLoading) {
return "Loading...";
Expand Down

0 comments on commit 1700d1e

Please sign in to comment.