Skip to content

Commit

Permalink
fixup! docs(react-keytips): add more detailed Overflow example
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Dec 18, 2024
1 parent 1001014 commit 863ef0b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion packages/react-keytips/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"typings": "./src/index.d.ts",
"peerDependencies": {
"@fluentui/react-components": ">=9.46.3 <10.0.0",
"@fluentui/react-icons": "^2.0.269",
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"react": ">=16.8.0 <19.0.0",
Expand All @@ -15,7 +16,6 @@
"@fluentui/react-utilities": "^9.16.0",
"@fluentui/react-positioning": "^9.15.0",
"@fluentui/keyboard-keys": "~9.0.6",
"@fluentui/react-icons": "^2.0.269",
"@swc/helpers": "~0.5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@ const stateReducer: React.Reducer<KeytipsState, KeytipsAction> = (
}, {} as Keytips),
};
}
case ACTIONS.RESET_KEYTIPS: {
return {
...state,
keytips: {},
};
}
case ACTIONS.SET_SEQUENCE: {
return { ...state, currentSequence: action.value };
}
Expand Down
1 change: 0 additions & 1 deletion packages/react-keytips/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const EXIT_KEYS = [
export const ACTIONS = {
ENTER_KEYTIP_MODE: 'ENTER_KEYTIP_MODE',
EXIT_KEYTIP_MODE: 'EXIT_KEYTIP_MODE',
RESET_KEYTIPS: 'RESET_KEYTIPS',
ADD_KEYTIP: 'ADD_KEYTIP',
REMOVE_KEYTIP: 'REMOVE_KEYTIP',
UPDATE_KEYTIP: 'UPDATE_KEYTIP',
Expand Down

0 comments on commit 863ef0b

Please sign in to comment.