Skip to content

Commit

Permalink
use TextDecoder from multibase
Browse files Browse the repository at this point in the history
  • Loading branch information
somay committed Jul 1, 2021
1 parent affe9cb commit 6bf7e62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
useColorScheme,
View,
} from 'react-native';
import {TextDecoder} from 'multibase';

import {
Colors,
Expand All @@ -27,6 +28,7 @@ import {
} from 'react-native/Libraries/NewAppScreen';

const Section = ({children, title}): Node => {
const decoder = new TextDecoder();
const isDarkMode = useColorScheme() === 'dark';
return (
<View style={styles.sectionContainer}>
Expand Down

0 comments on commit 6bf7e62

Please sign in to comment.