Skip to content

Commit

Permalink
fix: renamed back-button to navigate-to-root-button
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 19, 2024
1 parent 8ca279c commit 979b7dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/manage-productions/manage-productions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { API } from "../../api/api";
import { useGlobalState } from "../../global-state/context-provider";
import { useFetchProduction } from "../landing-page/use-fetch-production";
import { darkText, errorColour } from "../../css-helpers/defaults";
import { BackBtn } from "../back-btn/back-btn";
import { NavigateToRootButton } from "../navigate-to-root-button/navigate-to-root-button";

type FormValue = {
productionId: string;
Expand Down Expand Up @@ -118,7 +118,7 @@ export const ManageProductions = () => {
return (
<Container>
<StyledBackBtnIcon>
<BackBtn />
<NavigateToRootButton />
</StyledBackBtnIcon>
<DisplayContainerHeader>Remove Production</DisplayContainerHeader>
<FormLabel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const StyledBackBtn = styled(ActionButton)`
margin: 0;
`;

export const BackBtn = () => {
export const NavigateToRootButton = () => {
const navigate = useNavigate();

return (
Expand Down

0 comments on commit 979b7dd

Please sign in to comment.