Skip to content

Commit

Permalink
WP Telegram | Fix blank admin page after recent update (#78)
Browse files Browse the repository at this point in the history
* Remove unwanted code from Select component

* Add changeset

* Update release.yml
  • Loading branch information
irshadahmad21 authored Jan 28, 2024
1 parent 6d38e17 commit 25b51fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-bobcats-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wptelegram": patch
---

Fixed blank admin page after recent update
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ jobs:
with:
token: ${{ secrets.ACCESS_TOKEN_IR }}

- name: Set up Git user
run: |
git config user.email ${{ secrets.GIT_USER_EMAIL_IR }}
git config user.name ${{ secrets.GIT_USER_NAME_IR }}
- name: Setup Environment
uses: ./actions/setup
with:
Expand All @@ -36,7 +31,6 @@ jobs:
version: pnpm prep-release
title: Prepare for next release
commit: Prepare for next release
setupGitUser: false
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_IR }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_IR }}
3 changes: 0 additions & 3 deletions packages/js/adapters/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ export const Select = forwardRef<HTMLSelectElement, SelectProps>(
key={`${label}${index}`}
{...optionProps}
>
{optionGroups.map((grp) => (
<>{grp}</>
))}
{optionGroups.map(
({ label: optLabel, value, ...optProps }, i) => (
<option {...optProps} value={value} key={`${value}${i}`}>
Expand Down

0 comments on commit 25b51fe

Please sign in to comment.