Skip to content

Commit

Permalink
fix: import instead of require cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
peterphanouvong committed Nov 10, 2023
1 parent e87d3f5 commit 7cdbbd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/session/sessionManager.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {isAppRouter} from '../utils/isAppRouter';
import {cookies} from 'next/headers';

var cookie = require('cookie');
import cookie from 'cookie';

/**
*
Expand Down

0 comments on commit 7cdbbd9

Please sign in to comment.