Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ To define env vars please create a `.env` file based on the `.env.example` templ
### Data fetching
- Use RSC wherever possible.
- Write data fetching code in its own function in the same file as the component it is used in, not exported.
- If the same data fetching function is used in multiple components, place it in a file in an `api` folder at the lowest level possible (just like components). If you need to do this you probable aren't organizing your components properly.
- If the same data fetching function is used in multiple components, place it in a file in an `api` folder at the lowest level possible (just like components). If you need to do this you probably aren't organizing your components properly.
2 changes: 1 addition & 1 deletion apps/dashboard/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This directory contains the end-to-end (E2E) testing setup for the project.
## Adding a test

1. create a new file in this directory with the `.spec.ts` extension
2. copy the paterns from the existing tests
2. copy the patterns from the existing tests

## Running the tests locally

Expand Down