Skip to content

Commit

Permalink
fixed device view
Browse files Browse the repository at this point in the history
  • Loading branch information
Fisico committed Dec 26, 2023
1 parent 20a9734 commit 23b5786
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/Devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Devices = ({ HOST_IP, API_KEY }) => {
})
.catch((error) => {
console.error(error);
toast.error(`Error: ${error.message}`);
toast.error(`Error occurred: ${error.message}`, { duration: 5000 });
});
}
};
Expand All @@ -40,6 +40,8 @@ const Devices = ({ HOST_IP, API_KEY }) => {
key={id}
HOST_IP={HOST_IP}
api_key={API_KEY}
id={id}
device={device}
/>
))}
</div>
Expand Down

0 comments on commit 23b5786

Please sign in to comment.