Skip to content

Commit

Permalink
disable qi send menu option
Browse files Browse the repository at this point in the history
  • Loading branch information
rileystephens28 committed Oct 23, 2024
1 parent 2c825c9 commit 1c8d178
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ const QiAccountOptionMenu = ({ paymentCode }: { paymentCode: string }) => {
/>
)}
options={[
{
key: "send",
icon: "icons/s/arrow-up.svg",
label: "Send asset",
onClick: async () => {
await dispatch(resetQiSendSlice())
history.push("/send-qi")
await dispatch(setShowingAccountsModal(false))
},
},
// {
// key: "send",
// icon: "icons/s/arrow-up.svg",
// label: "Send asset",
// onClick: async () => {
// await dispatch(resetQiSendSlice())
// history.push("/send-qi")
// await dispatch(setShowingAccountsModal(false))
// },
// },
{
key: "copy",
icon: "icons/s/copy.svg",
Expand Down
10 changes: 5 additions & 5 deletions ui/routes/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ const pageList: PageList[] = [
Component: ConfirmTransactionPage,
hasTopBar: false,
},
{
path: "/send-qi",
Component: SendPage,
hasTopBar: false,
},
// {
// path: "/send-qi",
// Component: SendPage,
// hasTopBar: false,
// },
{
path: "/send",
Component: Send,
Expand Down

0 comments on commit 1c8d178

Please sign in to comment.