Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed Sep 4, 2024
1 parent 78215d2 commit 103d1a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ErrorView from "components/ErrorView";
import { getProgressLogsByDnp } from "services/isInstallingLogs/selectors";

const InstallDnpContainer: React.FC = () => {
const { id, version } = useParams<{ id: string, version: string }>();
const { id, version } = useParams<{ id: string; version: string }>();
const progressLogsByDnp = useSelector(getProgressLogsByDnp);

// TODO: return a beautiful error page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ export const InstallerDnp: React.FC = () => {

const encodedDnpName = encodeURIComponent(dnpName);
const encodedVersion = version ? encodeURIComponent(version) : null;

const pkgPath = encodedVersion ? `${encodedDnpName}/${encodedVersion}` : encodedDnpName;
navigate(pkgPath);

navigate(pkgPath);
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export interface Routes {
/**
* Fetch extended info about a new DNP
*/
fetchDnpRequest: (kwargs: { id: string, version?: string }) => Promise<RequestedDnp>;
fetchDnpRequest: (kwargs: { id: string; version?: string }) => Promise<RequestedDnp>;

/**
* Returns the user action logs. This logs are stored in a different
Expand Down

0 comments on commit 103d1a1

Please sign in to comment.