Skip to content

Commit

Permalink
fix border on row
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzaizzat committed Apr 26, 2024
1 parent fe4d68c commit 0b10690
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions apps/mobile/src/components/GalleryEditor/GalleryEditorRow.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FlashList } from '@shopify/flash-list';
import clsx from 'clsx';
import React, { useCallback } from 'react';
import { GestureResponderEvent, View, ViewProps } from 'react-native';
import { GestureResponderEvent, View } from 'react-native';
import Animated, { AnimatedRef, SharedValue } from 'react-native-reanimated';
import { graphql, useFragment } from 'react-relay';

Expand All @@ -18,7 +18,6 @@ import { useWidthPerToken } from './useWidthPerToken';
type Props = {
sectionId: string;
row: StagedRow;
style?: ViewProps['style'];
queryRef: GalleryEditorRowFragment$key;

scrollContentOffsetY: SharedValue<number>;
Expand All @@ -28,7 +27,6 @@ type Props = {
export function GalleryEditorRow({
sectionId,
row,
style,
queryRef,
scrollContentOffsetY,
scrollViewRef,
Expand Down Expand Up @@ -72,13 +70,13 @@ export function GalleryEditorRow({
eventName={null}
eventContext={null}
onPress={handleSectionPress}
className={clsx('border border-transparent relative', {
'border-activeBlue': activeRowId === row.id,
})}
style={style}
withoutFeedback
>
<View>
<View
className={clsx('border border-transparent relative', {
'border-activeBlue': activeRowId === row.id,
})}
>
<View className="relative">
<SortableTokenGrid
columns={row.columns}
Expand Down

0 comments on commit 0b10690

Please sign in to comment.