mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-23 15:18:12 +02:00
fix: add missing provider fields to newProfile initial state in Settings.jsx
This commit is contained in:
1 parent
8afa65f9ee
commit
78b20e1f5c
1 file changed
+4
@@ -44,6 +44,10 @@ export default function Settings() {
|
|||||||
const [newProfile, setNewProfile] = useState({
|
const [newProfile, setNewProfile] = useState({
|
||||||
name: '',
|
name: '',
|
||||||
apprise_url: '',
|
apprise_url: '',
|
||||||
|
provider: 'custom',
|
||||||
|
discord_webhook: '',
|
||||||
|
telegram_token: '',
|
||||||
|
telegram_chat_id: '',
|
||||||
check_interval_minutes: 60,
|
check_interval_minutes: 60,
|
||||||
notify_on_price_drop: true,
|
notify_on_price_drop: true,
|
||||||
notify_on_target_price: true,
|
notify_on_target_price: true,
|
||||||
|
|||||||
Reference in new issue
Block a user