removed unused imports
This commit is contained in:
		
							parent
							
								
									e2d88f1a55
								
							
						
					
					
						commit
						418649fc02
					
				
					 1 changed files with 10 additions and 4 deletions
				
			
		|  | @ -4,7 +4,7 @@ import prisma, { whereAndSelect } from "../lib/prisma"; | ||||||
| import { useEffect, useState } from "react"; | import { useEffect, useState } from "react"; | ||||||
| import { useRouter } from "next/router"; | import { useRouter } from "next/router"; | ||||||
| import { CheckIcon } from "@heroicons/react/outline"; | import { CheckIcon } from "@heroicons/react/outline"; | ||||||
| import { CalendarIcon, ClockIcon, LocationMarkerIcon } from "@heroicons/react/solid"; | import { ClockIcon } from "@heroicons/react/solid"; | ||||||
| import dayjs from "dayjs"; | import dayjs from "dayjs"; | ||||||
| import utc from "dayjs/plugin/utc"; | import utc from "dayjs/plugin/utc"; | ||||||
| import toArray from "dayjs/plugin/toArray"; | import toArray from "dayjs/plugin/toArray"; | ||||||
|  | @ -166,7 +166,9 @@ export default function Success(props) { | ||||||
|                                 eventName |                                 eventName | ||||||
|                             ) + (location ? "&location=" + location : "") |                             ) + (location ? "&location=" + location : "") | ||||||
|                           }> |                           }> | ||||||
|                           <a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" target="_blank"> |                           <a | ||||||
|  |                             className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" | ||||||
|  |                             target="_blank"> | ||||||
|                             <svg |                             <svg | ||||||
|                               className="inline-block w-4 h-4 mr-1 -mt-1" |                               className="inline-block w-4 h-4 mr-1 -mt-1" | ||||||
|                               fill="currentColor" |                               fill="currentColor" | ||||||
|  | @ -190,7 +192,9 @@ export default function Success(props) { | ||||||
|                                 eventName |                                 eventName | ||||||
|                             ) + (location ? "&location=" + location : "") |                             ) + (location ? "&location=" + location : "") | ||||||
|                           }> |                           }> | ||||||
|                           <a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" target="_blank"> |                           <a | ||||||
|  |                             className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" | ||||||
|  |                             target="_blank"> | ||||||
|                             <svg |                             <svg | ||||||
|                               className="inline-block w-4 h-4 mr-1 -mt-1" |                               className="inline-block w-4 h-4 mr-1 -mt-1" | ||||||
|                               fill="currentColor" |                               fill="currentColor" | ||||||
|  | @ -202,7 +206,9 @@ export default function Success(props) { | ||||||
|                           </a> |                           </a> | ||||||
|                         </Link> |                         </Link> | ||||||
|                         <Link href={"data:text/calendar," + eventLink()}> |                         <Link href={"data:text/calendar," + eventLink()}> | ||||||
|                           <a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" download={props.eventType.title + ".ics"}> |                           <a | ||||||
|  |                             className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" | ||||||
|  |                             download={props.eventType.title + ".ics"}> | ||||||
|                             <svg |                             <svg | ||||||
|                               version="1.1" |                               version="1.1" | ||||||
|                               xmlns="http://www.w3.org/2000/svg" |                               xmlns="http://www.w3.org/2000/svg" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen