Skip to content

Commit

Permalink
refactor: move Button component into component/buttons (#1269)
Browse files Browse the repository at this point in the history
refactor: move Button component into component/buttons
  • Loading branch information
setchy committed Jun 18, 2024
1 parent 27a13e3 commit 471f159
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/routes/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { KeyIcon, PersonIcon } from '@primer/octicons-react';
import { type FC, useContext, useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import { Logo } from '../components/Logo';
import { Button } from '../components/fields/Button';
import { Button } from '../components/buttons/Button';
import { AppContext } from '../context/App';
import { showWindow } from '../utils/comms';

Expand Down
2 changes: 1 addition & 1 deletion src/routes/LoginWithOAuthApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BookIcon, PersonIcon, SignInIcon } from '@primer/octicons-react';
import { type FC, useCallback, useContext } from 'react';
import { Form, type FormRenderProps } from 'react-final-form';
import { Header } from '../components/Header';
import { Button } from '../components/fields/Button';
import { Button } from '../components/buttons/Button';
import { FieldInput } from '../components/fields/FieldInput';
import { AppContext } from '../context/App';
import type { ClientID, ClientSecret, Hostname, Token } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/LoginWithPersonalAccessToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type FC, useCallback, useContext, useState } from 'react';
import { Form, type FormRenderProps } from 'react-final-form';
import { useNavigate } from 'react-router-dom';
import { Header } from '../components/Header';
import { Button } from '../components/fields/Button';
import { Button } from '../components/buttons/Button';
import { FieldInput } from '../components/fields/FieldInput';
import { AppContext } from '../context/App';
import type { Hostname, Token } from '../types';
Expand Down

0 comments on commit 471f159

Please sign in to comment.