Skip to content

Commit

Permalink
fix: SharedProofData updated to use LoadingIndicator from useAnimated…
Browse files Browse the repository at this point in the history
…Components (#1028)

Signed-off-by: Caroline Lucas Calheirani <[email protected]>
  • Loading branch information
CarolineLCa authored Nov 22, 2023
1 parent 629327b commit dd7dab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/legacy/core/App/components/misc/SharedProofData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import {
getProofData,
groupSharedProofDataByCredential,
} from '../../../verifier'
import { useAnimatedComponents } from '../../contexts/animated-components'
import { useConfiguration } from '../../contexts/configuration'
import { useTheme } from '../../contexts/theme'
import { toImageSource } from '../../utils/credential'
import { formatIfDate, pTypeToText } from '../../utils/helpers'
import { buildFieldsFromSharedAnonCredsProof } from '../../utils/oca'
import { testIdWithKey } from '../../utils/testable'
import LoadingIndicator from '../animated/LoadingIndicator'
import { AttributeValue } from '../record/RecordField'

interface SharedProofDataProps {
Expand Down Expand Up @@ -190,6 +190,7 @@ const SharedDataCard: React.FC<{ sharedData: GroupedSharedProofDataItem }> = ({

const SharedProofData: React.FC<SharedProofDataProps> = ({ recordId, onSharedProofDataLoad }: SharedProofDataProps) => {
const { agent } = useAgent()
const { LoadingIndicator } = useAnimatedComponents()
const styles = StyleSheet.create({
container: {
flexGrow: 1,
Expand Down

0 comments on commit dd7dab2

Please sign in to comment.