From ef50c96431741a8d70f2275cbf85ca6c561bd962 Mon Sep 17 00:00:00 2001 From: looskie <50378828+Looskie@users.noreply.github.com> Date: Tue, 22 Jun 2021 14:07:38 -0400 Subject: [PATCH] Feat: use local API --- pages/index.tsx | 76 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 53 insertions(+), 23 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 105b1a2..0d8565d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,35 +1,65 @@ -import Head from 'next/head' -import styled from 'styled-components'; -import { useState } from 'react'; +import Head from "next/head"; +import styled from "styled-components"; +import { useState } from "react"; export default function Home() { - const [userId, setUserId] = useState(':id') + const [userId, setUserId] = useState(":id"); return ( <>
- +Make sure you're in the Discord for this to work.
- setUserId(e.target.value))} /> - Copy the following and paste it into your README.md ++ Make sure you're in the + + Discord + + for this to work. +
+ setUserId(e.target.value)} + /> + + Copy the following and paste it into your README.md + - [](https://discord.com/users/{userId}) + [](https://discord.com/users/{userId}) - For further customization, check out the repo! -