fix: Settings Update Toast was not showing up.

This commit is contained in:
towfiqi 2023-03-05 19:39:14 +06:00
parent b83df5f3db
commit b9d58a721d

View File

@ -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';
@ -293,6 +294,7 @@ const Settings = ({ closeSettings }:SettingsProps) => {
</button>
</div>
</div>
<Toaster position='bottom-center' containerClassName="react_toaster" />
</div>
);
};