Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew032011 committed Sep 26, 2023
1 parent f573612 commit 0a68cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const DevPortfolioForm: React.FC = () => {
// When the user is logged in, `useSelf` always return non-null data.
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const userInfo = useSelf()!;
const isTpm = false;
const isTpm = userInfo.role === 'tpm';

const [devPortfolio, setDevPortfolio] = useState<DevPortfolio | undefined>(undefined);
const [devPortfolios, setDevPortfolios] = useState<DevPortfolio[]>([]);
Expand Down

0 comments on commit 0a68cf1

Please sign in to comment.