Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Fjern ubrukt kode
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhlj committed Jan 5, 2024
1 parent 9281e56 commit da0d22b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/metrics/amplitude-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export const initAmplitude = async () => {
await amplitude.init(apiKey, undefined, { ...config, serverUrl: AMPLITUDE_ENDPOINT });
};

export type AmplitudeLogger = (name: string, values?: object) => void;

export type BrukergruppeType =
| 'standard og ungdomsinnsats'
| 'standard'
Expand Down Expand Up @@ -82,8 +80,3 @@ export type AmplitudeData = {
export function amplitudeLogger(name: string, values?: object) {
amplitude.logEvent(name, values);
}

export function setIdentifyProperty(name: string, value: string) {
const identify = new amplitude.Identify().set(name, value);
amplitude.identify(identify);
}

0 comments on commit da0d22b

Please sign in to comment.