Skip to content

Commit

Permalink
Remove toast about old.online.ntnu.no
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikskog committed Jul 27, 2024
1 parent 4d3bc92 commit 781e4e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 65 deletions.
48 changes: 0 additions & 48 deletions src/frontpage/components/ToastOld/index.tsx

This file was deleted.

32 changes: 15 additions & 17 deletions src/frontpage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
import EventsContainer from 'events/components/EventsContainer';
import React, { FC } from 'react';
import Articles from './components/Articles';
import ForCompanies from './components/ForCompanies';
import Offline from './components/Offline';
import ToastOld from './components/ToastOld';
import { IOfflineIssue } from './models/Offline';
import AprilFoolsCaptcha from './components/AprilFoolsCaptcha';
import EventsContainer from "events/components/EventsContainer";

Check failure on line 1 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L1

Replace `"events/components/EventsContainer"` with `'events/components/EventsContainer'` (prettier/prettier)
import React, { FC } from "react";

Check failure on line 2 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L2

Replace `"react"` with `'react'` (prettier/prettier)
import Articles from "./components/Articles";

Check failure on line 3 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L3

Replace `"./components/Articles"` with `'./components/Articles'` (prettier/prettier)
import ForCompanies from "./components/ForCompanies";

Check failure on line 4 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L4

Replace `"./components/ForCompanies"` with `'./components/ForCompanies'` (prettier/prettier)
import Offline from "./components/Offline";

Check failure on line 5 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L5

Replace `"./components/Offline"` with `'./components/Offline'` (prettier/prettier)
import { IOfflineIssue } from "./models/Offline";

Check failure on line 6 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L6

Replace `"./models/Offline"` with `'./models/Offline'` (prettier/prettier)
import AprilFoolsCaptcha from "./components/AprilFoolsCaptcha";

Check failure on line 7 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L7

Replace `"./components/AprilFoolsCaptcha"` with `'./components/AprilFoolsCaptcha'` (prettier/prettier)

interface FrontpageProps {
offlines: IOfflineIssue[];
offlines: IOfflineIssue[];

Check failure on line 10 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L10

Replace `↹` with `··` (prettier/prettier)
}

const Frontpage: FC<FrontpageProps> = ({ offlines }) => (
<>
<AprilFoolsCaptcha />
<ToastOld />
<EventsContainer />
<Articles />
<Offline issues={offlines} />
<ForCompanies />
</>
<>

Check failure on line 14 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L14

Replace `↹` with `··` (prettier/prettier)
<AprilFoolsCaptcha />

Check failure on line 15 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L15

Replace `↹↹` with `····` (prettier/prettier)
<EventsContainer />

Check failure on line 16 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L16

Replace `↹↹` with `····` (prettier/prettier)
<Articles />

Check failure on line 17 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L17

Replace `↹↹` with `····` (prettier/prettier)
<Offline issues={offlines} />

Check failure on line 18 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L18

Replace `↹↹` with `····` (prettier/prettier)
<ForCompanies />

Check failure on line 19 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L19

Replace `↹↹` with `····` (prettier/prettier)
</>

Check failure on line 20 in src/frontpage/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint

src/frontpage/index.tsx#L20

Replace `↹` with `··` (prettier/prettier)
);

export default Frontpage;

0 comments on commit 781e4e6

Please sign in to comment.