Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const useEditRolePlatformContext = () => useContext(EditRolePlatformConte
/**
* Role platforms with dynamic amount will return input as an array of objects, but we handle it as a single object on the frontend, so we map it to the correct format with this function.
*
* Context: LINEAR operation will always have only 1 input, so we decided we could handle it as an object insted of an array with 1 object in it.
* Context: LINEAR operation will always have only 1 input, so we decided we could handle it as an object instead of an array with 1 object in it.
*
* IMPORTANT: Once we start using other operation types for dynamic amount, we should only support arrays to avoid unnecessary complexity.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const FarcasterCastHash = ({ baseFieldPath }: Props) => {

/**
* Handling the combined URL & hash input in a separate form, so we can easily
* valide the input
* validate the input
*/
const urlOrHashForm = useForm<{ urlOrHash: string }>({
mode: "all",
Expand Down