Skip to content

Commit

Permalink
[remove] Removed JPNIC pages. #110
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Aug 11, 2022
1 parent da77c65 commit a545ff2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 1,412 deletions.
6 changes: 0 additions & 6 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ import Service from "./pages/Service/Service";
import Connection from "./pages/Connection/Connection";
import User from "./pages/User/User";
import Token from "./pages/Token/Token";
import JPNIC from "./pages/JPNIC/JPNIC";
import JPNICDetail from "./pages/JPNIC/Detail/JPNICDetail";
import JPNICHandle from "./pages/JPNIC/Handle/JPNICHandle";
import ServiceAdd from "./pages/Add/ServiceAdd";
import ConnectionAdd from "./pages/Add/ConnectionAdd";
import NotFound from "./pages/Etc/404";
Expand All @@ -41,9 +38,6 @@ export default class App extends React.Component {
<Route path="/dashboard/connection" element={<Connection/>}/>
<Route path="/dashboard/user" element={<User/>}/>
<Route path="/dashboard/token" element={<Token/>}/>
<Route path="/dashboard/jpnic" element={<JPNIC/>}/>
<Route path="/dashboard/jpnic/:url" element={<JPNICDetail/>}/>
<Route path="/dashboard/jpnic/handle/:handle" element={<JPNICHandle/>}/>
</Routes>
</BrowserRouter>
);
Expand Down
9 changes: 0 additions & 9 deletions src/components/Dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ export default function Dashboard(props: any) {
const GroupPage = () => {
navigate("/dashboard/group");
}
const JPNICPage = () => {
navigate("/dashboard/jpnic");
}
const OrderPage = () => {
navigate("/dashboard/order");
}
Expand Down Expand Up @@ -226,12 +223,6 @@ export default function Dashboard(props: any) {
</ListItemIcon>
<ListItemText primary="Group"/>
</ListItem>
<ListItem button onClick={JPNICPage}>
<ListItemIcon>
<PeopleAltIcon/>
</ListItemIcon>
<ListItemText primary="JPNIC"/>
</ListItem>
<ListItem button onClick={OrderPage}>
<ListItemIcon>
<ShoppingCartIcon/>
Expand Down
8 changes: 0 additions & 8 deletions src/pages/Group/GroupDetail/Group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {GroupStatusStr} from "../../../components/Dashboard/Status/Status";
import {GroupAbolition, GroupLockButton, GroupStatusButton} from "./GroupMenu";
import {DeleteSubscription, Put} from "../../../api/Group";
import {useSnackbar} from "notistack";
import JPNICRegistrationDialog from "./JPNIC";
import {
StyledButtonSpaceRight,
StyledButtonSpaceTop,
Expand Down Expand Up @@ -413,13 +412,6 @@ export function GroupProfileInfo(props: {
>
JPNIC登録(β)
</Button>
<JPNICRegistrationDialog
key={"jpnic_registration_dialogs"}
setOpen={setOpenJPNICRegistration}
open={openJPNICRegistration}
baseData={data}
setReload={setReload}
/>
</CardContent>
</StyledCardRoot1>
)
Expand Down
926 changes: 0 additions & 926 deletions src/pages/Group/GroupDetail/JPNIC.tsx

This file was deleted.

171 changes: 0 additions & 171 deletions src/pages/JPNIC/Detail/JPNICDetail.tsx

This file was deleted.

139 changes: 0 additions & 139 deletions src/pages/JPNIC/Handle/JPNICHandle.tsx

This file was deleted.

Loading

0 comments on commit a545ff2

Please sign in to comment.