Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Jun 26, 2024
1 parent b0bfd53 commit 7d602ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/connect/src/hooks/useFormatAssetParam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ function getFormatedAsset(asset: string | null): string | null {
}

export function useFormatAssetParam(asset: string | null) {
const formatedAsset = useMemo(
() => getFormatedAsset(asset),
[asset]
);
const formatedAsset = useMemo(() => getFormatedAsset(asset), [asset]);
return formatedAsset;
}

0 comments on commit 7d602ea

Please sign in to comment.