Skip to content

Commit

Permalink
Merging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ThunderNaka committed Sep 9, 2024
1 parent 1cc08ab commit 874b968
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/router/useNavigateModal.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import type { NavigateOptions } from "react-router-dom";
import { useLocation, useNavigate } from "react-router-dom";

Expand Down
3 changes: 1 addition & 2 deletions src/screens/NotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { useNavigate } from "react-router-dom";

import { LightitLogo } from "~/assets";
import { Button } from "~/shared";

export const NotFound = () => {
const navigate = useNavigate();
Expand All @@ -16,9 +17,7 @@ export const NotFound = () => {
</p>

<Button
variant='primary'
size='sm'
left={<ArrowLeftIcon />}
onClick={() => {
navigate(-1);
}}
Expand Down
1 change: 0 additions & 1 deletion src/shared/components/ui/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import type { Meta, StoryObj } from "@storybook/react";

import { Button } from "./Button";
Expand Down

0 comments on commit 874b968

Please sign in to comment.