Skip to content

Commit

Permalink
✨ i hate how typescirpt doesnt say anything until build...
Browse files Browse the repository at this point in the history
  • Loading branch information
dnrm committed Sep 11, 2022
1 parent 6757956 commit 094450c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages/create-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Create = () => {
const [files, setFiles] = useState<FileList | null>();
const [mediaType, setMediaType] = useState<string>();

const onDrop = useCallback(async (acceptedFiles) => {
const onDrop = useCallback(async (acceptedFiles: any) => {
if (!acceptedFiles[0].name.match(/.(jpg|jpeg|png|gif|mp4)$/i)) {
toast.error("File is not an image or video.");
return;
Expand Down
12 changes: 6 additions & 6 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://medina.dev</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-09-28T17:26:16.538Z</lastmod></url>
<url><loc>https://medina.dev/500</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-09-28T17:26:16.538Z</lastmod></url>
<url><loc>https://medina.dev/account</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-09-28T17:26:16.538Z</lastmod></url>
<url><loc>https://medina.dev/create-post</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-09-28T17:26:16.538Z</lastmod></url>
<url><loc>https://medina.dev/dashboard</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-09-28T17:26:16.538Z</lastmod></url>
<url><loc>https://medina.dev/signin</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2021-09-28T17:26:16.538Z</lastmod></url>
<url><loc>https://crystal.medina.dev</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-09-11T03:02:48.140Z</lastmod></url>
<url><loc>https://crystal.medina.dev/500</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-09-11T03:02:48.140Z</lastmod></url>
<url><loc>https://crystal.medina.dev/account</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-09-11T03:02:48.140Z</lastmod></url>
<url><loc>https://crystal.medina.dev/create-post</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-09-11T03:02:48.140Z</lastmod></url>
<url><loc>https://crystal.medina.dev/dashboard</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-09-11T03:02:48.140Z</lastmod></url>
<url><loc>https://crystal.medina.dev/signin</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-09-11T03:02:48.140Z</lastmod></url>
</urlset>

1 comment on commit 094450c

@vercel
Copy link

@vercel vercel bot commented on 094450c Sep 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

crystal – ./

crystal-git-main-dnrm.vercel.app
crystal-dnrm.vercel.app
crystal.medina.dev

Please sign in to comment.