raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.33k stars 3.02k forks source link

[Wikipedia] Search Page doesn't work #15080

Open XInTheDark opened 1 hour ago

XInTheDark commented 1 hour ago

Extension

https://www.raycast.com/vimtor/wikipedia

Raycast Version

1.84.3

macOS Version

14.1.1

Description

The Search Page command crashes immediately upon launching it.

Screenshot 2024-10-25 at 18 31 50

Error:

TypeError: Cannot read properties of undefined (reading 'desktop')

Ji:page-item.tsx:11:27

---
 8: 
 9: const View = prefersListView ? List : Grid;
10: 
11: export function PageItem({ search, title, language }: { search: string; title: string; language: string }) {
12:   const { data: page } = useCachedPromise(getPageData, [title, language]);
13: 
14:   return (
---

    at ray-list-section
Ma:index.js:20:20459
Fr:index.js:8:3631

Steps To Reproduce

  1. Open the Search Page command.
  2. The crash occurs.

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 1 hour ago

Thank you for opening this issue!

🔔 @vimtor @shubzkothekar @NikosEfthias @menahishayan @pernielsentikaer @Ek2100 @sergiivelykodnyi @j3lte @peterbrinck you might want to have a look.

💡 Author and Contributors commands The author and contributors of `vimtor/wikipedia` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.