Skip to content

Commit

Permalink
fix: add missing type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed May 4, 2024
1 parent 21e6428 commit 9c14649
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const useGoToRevision = () => {
const { history, search } = useRouter();

const goToRevision = useCallback(
id => {
(id: string) => {
const fId = search[0].get("folderId");
const folderId = fId ? `&folderId=${encodeURIComponent(fId)}` : "";
history.push(
Expand Down

0 comments on commit 9c14649

Please sign in to comment.