Skip to content

Commit

Permalink
set default for interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidroohi92 committed May 14, 2024
1 parent f07dbaf commit c253315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MsgportInterface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { menu } from "../data/code";
import data from "../data/BuildMsgButtons.json";

const MsgportInterface = () => {
const [selectedItem, setSelectedItem] = useState(0);
const [selectedItem, setSelectedItem] = useState(1);

const activeMenu =
menu.find((item) => item.title === data[selectedItem - 1]?.text) || menu[0];
Expand Down

0 comments on commit c253315

Please sign in to comment.