Skip to content

Commit

Permalink
Remove unused ModuleIDP prop (#86)
Browse files Browse the repository at this point in the history
## Short description
This PR removes the unused `urlLogoIDP` prop from the `ModuleIDP`
component

## List of changes proposed in this pull request
- Remove `urlLogoIDP` prop

## How to test
N/A
  • Loading branch information
dmnplb authored Sep 28, 2023
1 parent 02060c8 commit e922884
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions example/src/pages/Modules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const renderModuleIDP = () => (
localLogo={mockIDPProviderItem.localLogo as ImageSourcePropType}
onPress={mockFn}
testID={`idp-${mockIDPProviderItem.id}-button`}
urlLogoIDP={""}
/>
</View>
</ComponentViewerBox>
Expand All @@ -46,7 +45,6 @@ const renderModuleIDP = () => (
localLogo={mockIDPProviderItem.localLogo as ImageSourcePropType}
onPress={mockFn}
testID={`idp-${mockIDPProviderItem.id}-button`}
urlLogoIDP={""}
/>
</View>
</ComponentViewerBox>
Expand All @@ -58,7 +56,6 @@ const renderModuleIDP = () => (
localLogo={mockIDPProviderItem.localLogo as ImageSourcePropType}
onPress={mockFn}
testID={`idp-${mockIDPProviderItem.id}-button`}
urlLogoIDP={""}
/>
</View>
</ComponentViewerBox>
Expand Down
1 change: 0 additions & 1 deletion src/components/modules/ModuleIDP.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ type ModuleIDP = WithTestID<{
logo: ImageSourcePropType;
saved?: boolean;
onPress: (event: GestureResponderEvent) => void;
urlLogoIDP: string;
}>;

const styles = StyleSheet.create({
Expand Down

0 comments on commit e922884

Please sign in to comment.