refactor(home): remove unused message variable
This commit is contained in:
@@ -97,7 +97,7 @@ export const Home = () => {
|
|||||||
setIsBulkAdding(true);
|
setIsBulkAdding(true);
|
||||||
try {
|
try {
|
||||||
const response = await authApiClient.client.post("/bulk/bulk-add-spotify-links", { links: supportedLinks });
|
const response = await authApiClient.client.post("/bulk/bulk-add-spotify-links", { links: supportedLinks });
|
||||||
const { message, count, failed_links } = response.data;
|
const {count, failed_links } = response.data;
|
||||||
|
|
||||||
if (failed_links && failed_links.length > 0) {
|
if (failed_links && failed_links.length > 0) {
|
||||||
toast.warning("Bulk Add Completed with Warnings", {
|
toast.warning("Bulk Add Completed with Warnings", {
|
||||||
|
|||||||
Reference in New Issue
Block a user