Skip to content

Commit

Permalink
Fix type error from replacing state
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-shanbhag committed May 12, 2024
1 parent a7de255 commit f8cf306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/projects/ProjectContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const ProjectContent = memo(function ProjectContent({
<OutsideClickHandler
disabled={!isCurrentProject}
onOutsideClick={() => {
window.history.replaceState({ isProject: false }, null, "/");
window.history.replaceState({ isProject: false }, "", "/");
setActiveProject(null);
}}
>
Expand Down

0 comments on commit f8cf306

Please sign in to comment.