Skip to content

Commit

Permalink
Update client.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Dec 5, 2024
1 parent 2c5450c commit de4defd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/plugins/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,14 @@ export default function PluginPageClient() {
}

if (!name) {
return router.push(`/store`);
router.push(`/store`);
return <LoadingState />;
}

const plugin = plugins.find((p) => p.name === name);
if (!plugin) {
return router.push(`/store`);
router.push(`/store`);
return <LoadingState />;
}

const isVerified = plugin.author.includes('ExpTechTW');
Expand Down

0 comments on commit de4defd

Please sign in to comment.