Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Type tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 committed Mar 27, 2024
1 parent 3b1b449 commit 6539d9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ interface HookResult extends ConfigurePatchState {
const useConfigurePatch = (patch: ConfigurePatchQuery["patch"]): HookResult => {
const navigate = useNavigate();
const location = useLocation();
const { [slugs.tab]: tab } = useParams();
const { [slugs.tab]: tab } = useParams<{ [slugs.tab]: PatchTab }>();

const { id, project } = patch;
const { variants } = project;
Expand Down

0 comments on commit 6539d9a

Please sign in to comment.