Skip to content

Commit

Permalink
[cleanup] eslint and prettier checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniebeggs committed Oct 18, 2023
1 parent 3128fa1 commit 82e8819
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/app/(BottomTabNavigation)/Cases/CaseCard/CaseCard.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React from 'react';
import { Image, Text, TouchableOpacity, View } from 'react-native';
import { CaseCardProps } from '../types';

import styles from './styles';
import { CaseCardProps } from '../types';

function CaseCard({ id, title, status, imageUrl }: CaseCardProps) {
return (
Expand Down
5 changes: 4 additions & 1 deletion src/app/(BottomTabNavigation)/Cases/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { getCaseIdsFromUserId, getCasesByIds } from '../../../supabase/cases';
import { CaseCardProps, UserUid } from './types';
import {
getCaseIdsFromUserId,
getCasesByIds,
} from '../../../supabase/queries/cases';

export default async function fetchListViewCases(
userUid: UserUid,
Expand Down
4 changes: 2 additions & 2 deletions src/supabase/cases.ts → src/supabase/queries/cases.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import supabase from './createClient';
import {
CaseCardProps,
CaseId,
UserUid,
} from '../app/(BottomTabNavigation)/Cases/types';
} from '../../app/(BottomTabNavigation)/Cases/types';
import supabase from '../createClient';

/**
* Fetch an array of `CaseId`s associated with a specific user. Fetches ids from `status` table.
Expand Down

0 comments on commit 82e8819

Please sign in to comment.