Skip to content

Commit

Permalink
fix deno fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
harshmangalam committed Jun 3, 2024
1 parent ea92233 commit a033644
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions routes/submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,18 @@ export default defineRoute<State>((_req, ctx) => {
</div>
{ctx.url.searchParams.has("error") && (
<div class="w-full text-red-500 mt-4">
<IconInfo class="inline-block" /> Title and valid URL are
required
<IconInfo class="inline-block" />{" "}
Title and valid URL are required
</div>
)}
<div class="w-full rounded-lg bg-gradient-to-tr from-secondary to-primary p-px mt-8">
{!ctx.state.sessionUser ? (
<a href="/signin" class={SUBMIT_STYLES}>
Sign in to submit &#8250;
</a>
) : (
<button class={SUBMIT_STYLES}>Submit</button>
)}
{!ctx.state.sessionUser
? (
<a href="/signin" class={SUBMIT_STYLES}>
Sign in to submit &#8250;
</a>
)
: <button class={SUBMIT_STYLES}>Submit</button>}
</div>
</form>
</div>
Expand Down

0 comments on commit a033644

Please sign in to comment.