Fixed initial errors

This commit is contained in:
2024-10-18 12:39:54 -05:00
parent 3eeffb789f
commit cc8e0c623c
10 changed files with 78 additions and 30 deletions

View File

@ -13,7 +13,7 @@ type RelationshipProps = {
pfpUrl: string | null;
};
const Relationship: React.FC<RelationshipProps> = ({ pfpUrl }) => {
const RelationshipView: React.FC<RelationshipProps> = ({ pfpUrl }) => {
const [status, setStatus] = useState<RelationshipData | null>(null);
const [user, setUser] = useState<User | null>(null);
const [showRequestRelationship, setShowRequestRelationship] = useState(false);
@ -253,7 +253,7 @@ const Relationship: React.FC<RelationshipProps> = ({ pfpUrl }) => {
</ThemedView>
);
};
export default Relationship;
export default RelationshipView;
const styles = StyleSheet.create({
container: {