Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AtsushiM committed Feb 18, 2025
1 parent 139760b commit 6a186de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const ReleaseNote = memo(() => {
})

const ActualReleaseNote: FC<{
data: HeaderProps['releaseNote']
}> = () => {
data: Required<HeaderProps>['releaseNote']
}> = ({ data }) => {
const translate = useTranslate()
const translated = useMemo(
() => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ export const TenantSelector: FC<Props> = ({ tenants, currentTenantId, onTenantSe

return tenantName ? (
<ActualTenantSelector
tenants={tenants}
tenants={tenants as ActualProps['tenants']}
currentTenantId={currentTenantId}
onTenantSelect={onTenantSelect}
tenantName={tenantName}
/>
) : null
}

type ActualProps = Props & { tenantName: ReactNode }
type ActualProps = Omit<Props, 'tenants'> &
Required<Pick<Props, 'tenants'>> & { tenantName: ReactNode }

const ActualTenantSelector: FC<ActualProps> = ({
tenants,
Expand Down

0 comments on commit 6a186de

Please sign in to comment.