Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Sep 13, 2022
1 parent 710384a commit 9e8de4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/tabview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ const TabViewDemo = () => {

const createClient = () => {
const id = Math.floor(Math.random() * 1000000);

return { id, name: `Client ${id}` };
};

const [dynamicTabs, setDynamicTabs] = useState([createClient(), createClient(), createClient()]);

return (
Expand Down

0 comments on commit 9e8de4f

Please sign in to comment.