Replace Link with nav() on Speakers Back button
All checks were successful
Build and Push / build (push) Successful in 12m43s
All checks were successful
Build and Push / build (push) Successful in 12m43s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { Link, useNavigate, useParams } from "react-router-dom";
|
||||
import { useNavigate, useParams } from "react-router-dom";
|
||||
import { api } from "../api";
|
||||
import { SessionReel, colorFor } from "../components/SessionReel";
|
||||
|
||||
@@ -144,7 +144,7 @@ export default function Speakers() {
|
||||
|
||||
return (
|
||||
<div className="max-w-4xl mx-auto py-16 px-4">
|
||||
<Link to="/" className="text-sm text-ink/40 hover:text-brass">← Back</Link>
|
||||
<button onClick={() => nav("/")} className="text-sm text-ink/40 hover:text-brass cursor-pointer">← Back</button>
|
||||
<h1 className="font-display text-3xl mt-4 mb-2">Name your speakers</h1>
|
||||
<p className="text-ink/60 mb-6">Click anywhere on the reel to jump to that moment and hear who's talking.</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user