mirror of
https://github.com/balzack/databag.git
synced 2025-04-23 10:05:19 +00:00
fixing typo
This commit is contained in:
parent
663f1ff467
commit
a534bca0a5
@ -56,7 +56,7 @@ export function Session() {
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (state.appState && !sdkState) {
|
||||
if (state.appState && !state.sdkState) {
|
||||
setDisconnected(true);
|
||||
} else {
|
||||
setDisconnected(false);
|
||||
@ -171,7 +171,7 @@ export function Session() {
|
||||
</View>
|
||||
</NavigationContainer>
|
||||
)}
|
||||
{ state.disconnected && !dismissed && (
|
||||
{ disconnected && !dismissed && (
|
||||
<View style={styles.alert}>
|
||||
<Surface elevation={5} style={styles.alertArea}>
|
||||
<Icon color={Colors.offsync} size={20} source="alert-circle-outline" />
|
||||
|
@ -11,7 +11,6 @@ export function useSession() {
|
||||
const [state, setState] = useState({
|
||||
layout: null,
|
||||
strings: {},
|
||||
disconnected,
|
||||
appState: true,
|
||||
sdkState: true,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user