Skip to content

Commit

Permalink
fix: Settings Update Toast was not showing up.
Browse files Browse the repository at this point in the history
  • Loading branch information
towfiqi committed Mar 5, 2023
1 parent b83df5f commit b9d58a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/settings/Settings.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useEffect, useState } from 'react';
import { Toaster } from 'react-hot-toast';
// import { useQuery } from 'react-query';
import useUpdateSettings, { useFetchSettings } from '../../services/settings';
import Icon from '../common/Icon';
Expand Down Expand Up @@ -293,6 +294,7 @@ const Settings = ({ closeSettings }:SettingsProps) => {
</button>
</div>
</div>
<Toaster position='bottom-center' containerClassName="react_toaster" />
</div>
);
};
Expand Down

0 comments on commit b9d58a7

Please sign in to comment.