mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 14:09:34 +01:00
update
This commit is contained in:
@@ -28,7 +28,7 @@ import {FlatList, TextInput} from 'react-native-gesture-handler';
|
||||
import {useForceUpdate} from '../../views/ListsEditor';
|
||||
import {db} from '../../../App';
|
||||
import {useAppContext} from '../../provider/useAppContext';
|
||||
|
||||
import {useTracked} from '../../provider';
|
||||
|
||||
export const AddTopicDialog = ({
|
||||
visible,
|
||||
@@ -36,7 +36,8 @@ export const AddTopicDialog = ({
|
||||
notebookID,
|
||||
toEdit = null,
|
||||
}) => {
|
||||
const {colors} = useAppContext();
|
||||
const [state, dispatch] = useTracked();
|
||||
const {colors} = state;
|
||||
const [titleFocused, setTitleFocused] = useState(false);
|
||||
|
||||
let title = null;
|
||||
|
||||
Reference in New Issue
Block a user