Skip to content

Commit

Permalink
fix: use cld player profiles package for default profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-roch committed Oct 27, 2024
1 parent 151ae7b commit b122968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const getDefaultProfileConfig = (profileName) => {
const profile = defaultProfiles.find(({ name }) => profileName === name);

if (!profile) {
throw new Error(`Default profile with name ${profileName} doest not exist`);
throw new Error(`Default profile with name ${profileName} does not exist`);
}

return profile.config;
Expand Down

0 comments on commit b122968

Please sign in to comment.