is this the correct use of usecallback? - Theo's Typesafe Cult