Skip to content

Commit b553527

Browse files
ChriztiaanChristiaan Landman
and
Christiaan Landman
authored
fix(react-native-supabase-todo): Replaced <p> tag with <Text> (#156)
Co-authored-by: Christiaan Landman <[email protected]>
1 parent 2e45eaa commit b553527

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/witty-eyes-count.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-native-supabase-todolist": patch
3+
---
4+
5+
Using <Text> instead of <p> in react native HTML

demos/react-native-supabase-todolist/app/views/todos/lists.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import { StatusBar } from 'expo-status-bar';
33
import { ScrollView, View } from 'react-native';
4-
import { FAB } from 'react-native-elements';
4+
import { FAB, Text } from 'react-native-elements';
55
import prompt from 'react-native-prompt-android';
66

77
import { router, Stack } from 'expo-router';
@@ -79,7 +79,7 @@ const ListsViewWidget: React.FC = () => {
7979
/>
8080
<ScrollView key={'lists'} style={{ maxHeight: '90%' }}>
8181
{!status.hasSynced ? (
82-
<p>Busy with sync...</p>
82+
<Text>Busy with sync...</Text>
8383
) : (
8484
listRecords.map((r) => (
8585
<ListItemWidget

0 commit comments

Comments
 (0)