Skip to content

Commit

Permalink
Remove unneeded export
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw committed Jul 19, 2024
1 parent 4e1eba4 commit cf10f0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/assets/js/playground/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ function serializeStateContents(state: PlaygroundState): string {
* Serializes `state`'s non-boolean, non-textual parameters to a set of URL
* parameters that can be added to the URL hash.
*/
export function serializeStateParams(
state: Partial<PlaygroundState> & Pick<PlaygroundState, 'selection'>
): string | null {
function serializeStateParams(state: PlaygroundState): string | null {
const params = new URLSearchParams();

if (state.selection) {
Expand Down

0 comments on commit cf10f0f

Please sign in to comment.