Skip to content

Commit

Permalink
fix todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandelis Symeonidis committed Nov 30, 2023
1 parent 3ef02c5 commit a280998
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/pages/sell/character-sell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export const CharacterSell = () => {
const [data, setData] = useState<SellData>({ price: 0 });

const handleResult: MakeOfferCallback = {
settled: () => {
// Currently calling this logic on settled due to an issue with the status returned by the sell method,
// TODO: move this logic to a more specific callback
seated: () => {
setIsPlacedInShop(true);
userDispatch({ type: "SET_SELECTED", payload: "" });
},
Expand Down

0 comments on commit a280998

Please sign in to comment.