mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-21 18:06:30 +02:00
f9b9f9ab06
- resolves an issue related to electron-builder continuing to download and install updates despite only calling checkForUpdates - adds indicator to settings / app menu on new version found
17 lines
628 B
TypeScript
17 lines
628 B
TypeScript
import { useState } from 'react';
|
|
|
|
import { SettingsContent } from '/@/renderer/features/settings/components/settings-content';
|
|
import { SettingsHeader } from '/@/renderer/features/settings/components/settings-header';
|
|
import { SettingSearchContext } from '/@/renderer/features/settings/context/search-context';
|
|
|
|
export const SettingsContextModal = () => {
|
|
const [search, setSearch] = useState('');
|
|
|
|
return (
|
|
<SettingSearchContext.Provider value={search}>
|
|
<SettingsHeader setSearch={setSearch} showUpdateAvailable />
|
|
<SettingsContent />
|
|
</SettingSearchContext.Provider>
|
|
);
|
|
};
|