Skip to content

Commit

Permalink
Merge pull request #2357 from target/typescript-conversion-AdminRouter
Browse files Browse the repository at this point in the history
ui/admin: convert javascript file to typescript
  • Loading branch information
Forfold authored May 11, 2022
2 parents dae55df + 766ba70 commit d41ec9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import AdminDebugMessagesLayout from './admin-message-logs/AdminDebugMessagesLay
import { useSessionInfo } from '../util/RequireConfig'
import Spinner from '../loading/components/Spinner'

function AdminRouter() {
function AdminRouter(): JSX.Element {
const { isAdmin, ready } = useSessionInfo()
if (!ready) {
return <Spinner />
Expand Down

0 comments on commit d41ec9e

Please sign in to comment.