diff options
Diffstat (limited to 'src/components/DonateButton.tsx')
-rw-r--r-- | src/components/DonateButton.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/DonateButton.tsx b/src/components/DonateButton.tsx index 49f079b..c027fcf 100644 --- a/src/components/DonateButton.tsx +++ b/src/components/DonateButton.tsx @@ -16,7 +16,6 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import IpcEvents from "@utils/IpcEvents"; import { Button } from "@webpack/common"; import { Heart } from "./Heart"; @@ -27,9 +26,7 @@ export default function DonateButton(props: any) { {...props} look={Button.Looks.LINK} color={Button.Colors.TRANSPARENT} - onClick={() => - VencordNative.ipc.invoke(IpcEvents.OPEN_EXTERNAL, "https://github.com/sponsors/Vendicated") - } + onClick={() => VencordNative.native.openExternal("https://github.com/sponsors/Vendicated")} > <Heart /> Donate |