This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { ReactChild } from 'react'; | |
| import { Database } from '@nozbe/watermelondb'; | |
| import { getWatermelon } from 'app/utils/DBWatermelonOld/DBWatermelonOld'; | |
| import DatabaseProvider from '@nozbe/watermelondb/DatabaseProvider'; | |
| const WatermelonProvider = (props) => { | |
| const watermelonRef = React.useRef(); | |
| const [database, setDatabase] = React.useState(); | |
| if (!watermelonRef.current) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global alias.hist "log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short" |